Browse Source

fix segmentBorderColor

master
sanke 6 years ago
parent
commit
9e2f9fdbc0
  1. 3
      src/controllers/analytic_controller.ts

3
src/controllers/analytic_controller.ts

@ -259,7 +259,7 @@ export class AnalyticController {
if(s.labeled) { if(s.labeled) {
segmentBorderColor = labeledSegmentBorderColor; segmentBorderColor = labeledSegmentBorderColor;
} else { } else {
segmentBorderColor = fillColor; segmentBorderColor = borderColor;
} }
var expanded = s.expandDist(rangeDist, 0.01); var expanded = s.expandDist(rangeDist, 0.01);
@ -281,6 +281,7 @@ export class AnalyticController {
} }
deleteLabelingAnomalySegmentsInRange(from: number, to: number) { deleteLabelingAnomalySegmentsInRange(from: number, to: number) {
console.log('deleteLabelingAnomalySegmentsInRange was called')
var allRemovedSegs = this.labelingAnomaly.removeSegmentsInRange(from, to); var allRemovedSegs = this.labelingAnomaly.removeSegmentsInRange(from, to);
allRemovedSegs.forEach(s => { allRemovedSegs.forEach(s => {
if(!this._labelingDataAddedSegments.has(s.id)) { if(!this._labelingDataAddedSegments.has(s.id)) {

Loading…
Cancel
Save