From 9e2f9fdbc007fa3ececa73daa56c3ae9c327038a Mon Sep 17 00:00:00 2001 From: sanke Date: Mon, 17 Sep 2018 19:12:18 +0300 Subject: [PATCH] fix segmentBorderColor --- src/controllers/analytic_controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/analytic_controller.ts b/src/controllers/analytic_controller.ts index 22420b4..0ba38e5 100644 --- a/src/controllers/analytic_controller.ts +++ b/src/controllers/analytic_controller.ts @@ -259,7 +259,7 @@ export class AnalyticController { if(s.labeled) { segmentBorderColor = labeledSegmentBorderColor; } else { - segmentBorderColor = fillColor; + segmentBorderColor = borderColor; } var expanded = s.expandDist(rangeDist, 0.01); @@ -281,6 +281,7 @@ export class AnalyticController { } deleteLabelingAnomalySegmentsInRange(from: number, to: number) { + console.log('deleteLabelingAnomalySegmentsInRange was called') var allRemovedSegs = this.labelingAnomaly.removeSegmentsInRange(from, to); allRemovedSegs.forEach(s => { if(!this._labelingDataAddedSegments.has(s.id)) {