@kitware/vtk.js 34.13.1 → 34.14.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.
@@ -19,6 +19,7 @@ function vtkViewStream(publicAPI, model) {
19
19
  // --------------------------------------------------------------------------
20
20
 
21
21
  function imageLoaded(e) {
22
+ if (model.deleted) return;
22
23
  const id = Number(this.dataset.id);
23
24
  publicAPI.invokeImageReady(model.eventPool[id]);
24
25
  }
@@ -126,6 +126,7 @@ function widgetBehavior(publicAPI, model) {
126
126
  translation[axisIndex] = translateState.startPos + delta;
127
127
  model.widgetState.getTransform().setTranslation(translation);
128
128
  }
129
+ return macro.EVENT_ABORT;
129
130
  };
130
131
  publicAPI.handleScaleEvent = (callData, axis, axisIndex) => {
131
132
  model.lineManipulator.setHandleOrigin(model.activeState.getOrigin());
@@ -140,6 +141,7 @@ function widgetBehavior(publicAPI, model) {
140
141
  scales[axisIndex] = scale;
141
142
  model.widgetState.getTransform().setScale(scales);
142
143
  }
144
+ return macro.EVENT_ABORT;
143
145
  };
144
146
  publicAPI.handleRotateEvent = callData => {
145
147
  model.rotationManipulator.setHandleOrigin(model.activeState.getOrigin());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "34.13.1",
3
+ "version": "34.14.0",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",