@kitware/vtk.js 26.9.5 → 26.9.6

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.
@@ -125,36 +125,23 @@ function vtkInteractorStyleRemoteMouse(publicAPI, model) {
125
125
 
126
126
 
127
127
  publicAPI.handleStartMouseWheel = function (callData) {
128
- var spinY = callData.spinY,
129
- altKey = callData.altKey,
130
- controlKey = callData.controlKey,
131
- shiftKey = callData.shiftKey;
132
-
133
128
  model._interactor.requestAnimation(publicAPI.handleStartMouseWheel);
134
129
 
135
130
  publicAPI.invokeStartInteractionEvent(START_INTERACTION_EVENT);
136
- publicAPI.invokeRemoteWheelEvent(_objectSpread({
137
- type: 'StartMouseWheel',
138
- spinY: spinY,
139
- altKey: altKey,
140
- controlKey: controlKey,
141
- shiftKey: shiftKey
142
- }, model.remoteEventAddOn));
131
+ publicAPI.invokeRemoteWheelEvent(_objectSpread(_objectSpread({
132
+ type: 'StartMouseWheel'
133
+ }, createRemoteEvent(callData)), {}, {
134
+ spinY: callData.spinY
135
+ }));
143
136
  }; //-------------------------------------------------------------------------
144
137
 
145
138
 
146
139
  publicAPI.handleMouseWheel = function (callData) {
147
- var spinY = callData.spinY,
148
- altKey = callData.altKey,
149
- controlKey = callData.controlKey,
150
- shiftKey = callData.shiftKey;
151
- publicAPI.invokeRemoteWheelEvent(_objectSpread({
152
- type: 'MouseWheel',
153
- spinY: spinY,
154
- altKey: altKey,
155
- controlKey: controlKey,
156
- shiftKey: shiftKey
157
- }, model.remoteEventAddOn));
140
+ publicAPI.invokeRemoteWheelEvent(_objectSpread(_objectSpread({
141
+ type: 'MouseWheel'
142
+ }, createRemoteEvent(callData)), {}, {
143
+ spinY: callData.spinY
144
+ }));
158
145
  publicAPI.invokeInteractionEvent(INTERACTION_EVENT);
159
146
  }; //-------------------------------------------------------------------------
160
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitware/vtk.js",
3
- "version": "26.9.5",
3
+ "version": "26.9.6",
4
4
  "description": "Visualization Toolkit for the Web",
5
5
  "keywords": [
6
6
  "3d",