|
|
@ -266,17 +266,21 @@ export class AnalyticController { |
|
|
|
let segmentBorderColor; |
|
|
|
let segmentBorderColor; |
|
|
|
let segmentFillColor = fillColor; |
|
|
|
let segmentFillColor = fillColor; |
|
|
|
|
|
|
|
|
|
|
|
if(s.labeled) { |
|
|
|
|
|
|
|
segmentBorderColor = labeledSegmentBorderColor; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
segmentBorderColor = borderColor; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(this.labelingDeleteMode) { |
|
|
|
if(this.labelingDeleteMode) { |
|
|
|
if(s.deleted) { |
|
|
|
if(s.deleted) { |
|
|
|
segmentBorderColor = deletedSegmentBorderColor; |
|
|
|
segmentBorderColor = deletedSegmentBorderColor; |
|
|
|
segmentFillColor = deletedSegmentFillColor; |
|
|
|
segmentFillColor = deletedSegmentFillColor; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
if(s.deleted) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(s.labeled) { |
|
|
|
|
|
|
|
segmentBorderColor = labeledSegmentBorderColor; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
segmentBorderColor = borderColor; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var expanded = s.expandDist(rangeDist, 0.01); |
|
|
|
var expanded = s.expandDist(rangeDist, 0.01); |
|
|
|