Browse Source

fx adding

pull/25/head
Alexey Velikiy 3 years ago
parent
commit
bdf382f9bb
  1. 3
      client/src/components/hastic_pod/index.ts

3
client/src/components/hastic_pod/index.ts

@ -128,7 +128,6 @@ export class HasticPod extends LinePod {
} else {
const extent = this.d3.event.selection;
this.isBrushing === false;
this._labelBrush = false;
if(extent === undefined || extent === null || extent.length < 2) {
return;
}
@ -140,9 +139,11 @@ export class HasticPod extends LinePod {
if(this._labelBrush) {
this.addSegment(startTimestamp, endTimestamp);
this._labelBrush = false;
}
if(this._deleteBrush) {
this.deleteSegment(startTimestamp, endTimestamp);
this._deleteBrush = false;
}
}
}

Loading…
Cancel
Save