@evercam/ui 0.0.43 → 0.0.45-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5180,7 +5180,7 @@ const Wt = {
|
|
|
5180
5180
|
this.zoomToStartAndEndDates();
|
|
5181
5181
|
},
|
|
5182
5182
|
eventsGroups() {
|
|
5183
|
-
this.
|
|
5183
|
+
this.updateAndRedrawTimeline();
|
|
5184
5184
|
}
|
|
5185
5185
|
},
|
|
5186
5186
|
mounted() {
|
|
@@ -5237,7 +5237,7 @@ const Wt = {
|
|
|
5237
5237
|
this.yScale.domain([0, t]);
|
|
5238
5238
|
},
|
|
5239
5239
|
initZoomBehavior() {
|
|
5240
|
-
this.disableZoom || (this.zoomBehavior = u.zoom().on("zoom", this.handleZoom).scaleExtent([
|
|
5240
|
+
this.disableZoom || (this.zoomBehavior = u.zoom().on("zoom", this.handleZoom).scaleExtent([1e-4, 85e4]), this.svg.call(this.zoomBehavior));
|
|
5241
5241
|
},
|
|
5242
5242
|
initSelectedTimestampCursor() {
|
|
5243
5243
|
this.svg.append("line").attr("class", O.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0).attr("y2", this.timelineHeight), this.repositionSelectedTimestampCursor();
|
|
@@ -5247,7 +5247,7 @@ const Wt = {
|
|
|
5247
5247
|
this.clearTimeline(), this.initTimeline(e, t);
|
|
5248
5248
|
},
|
|
5249
5249
|
clearTimeline() {
|
|
5250
|
-
this.svg.remove(), this.countsByTimestamp = {};
|
|
5250
|
+
this.svg && this.svg.remove(), this.countsByTimestamp = {};
|
|
5251
5251
|
},
|
|
5252
5252
|
repositionSelectedTimestampCursor() {
|
|
5253
5253
|
const e = this.svg.select(`.${O.selectedTimestampCursor}`);
|