Skip to content

Commit adf8053

Browse files
committed
Merge branch 'master' into feature/add-bar
2 parents 38c9521 + 0049f91 commit adf8053

File tree

3 files changed

+2014
-2145
lines changed

3 files changed

+2014
-2145
lines changed

src/anno.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export class AnnoInfo {
6666
});
6767

6868
// Overwrite it with new points
69-
this.trace = {...this.trace, x, y, text};
70-
this.trace.marker!.color = color;
69+
this.trace = {...this.trace, x, y, text} as any;
70+
(this.trace as any).marker.color = color;
7171
return x.length > 0;
7272
}
7373
}

src/partials/tab_traces.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
class="btn btn-success" ng-click="ctrl.editor.createTrace();"
2020
style="margin-bottom: 5px; width: 100%"
2121
>
22-
<i class="fa fa-plus"/> Add new
22+
<i class="fa fa-plus" ></i> Add new
2323
</button>
2424
</li>
2525
<li>
@@ -28,7 +28,7 @@
2828
ng-if="ctrl.traces.length > 1"
2929
style="width: 100%"
3030
>
31-
<i class="fa fa-trash"/> Delete
31+
<i class="fa fa-trash"></i> Delete
3232
</button>
3333
</li>
3434
</ul>

0 commit comments

Comments
 (0)