@kitware/vtk.js 26.9.5 → 26.9.7
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/Common/Core/Base64.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export function toArrayBuffer(b64Str: string): ArrayBuffer;
|
|
|
17
17
|
export function fromArrayBuffer(ab: ArrayBuffer): string;
|
|
18
18
|
|
|
19
19
|
interface Base64 {
|
|
20
|
-
toArrayBuffer,
|
|
21
|
-
fromArrayBuffer,
|
|
20
|
+
toArrayBuffer: typeof toArrayBuffer,
|
|
21
|
+
fromArrayBuffer: typeof fromArrayBuffer,
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export default Base64;
|
|
@@ -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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
|