@inweb/viewer-three 25.3.20 → 25.3.21
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/viewer-three.js
CHANGED
|
@@ -365,7 +365,9 @@
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
const
|
|
368
|
+
const CanvasEvents = [ "click", "contextmenu", "dblclick", "mousedown", "mouseleave", "mousemove", "mouseup", "pointercancel", "pointerdown", "pointerleave", "pointermove", "pointerup", "touchcancel", "touchend", "touchmove", "touchstart", "wheel" ];
|
|
369
|
+
|
|
370
|
+
const CANVAS_EVENTS = CanvasEvents;
|
|
369
371
|
|
|
370
372
|
class EventEmitter2 {
|
|
371
373
|
constructor() {
|
|
@@ -42622,7 +42624,7 @@
|
|
|
42622
42624
|
this.renderNeeded = false;
|
|
42623
42625
|
this._options = new Options(this);
|
|
42624
42626
|
this.client = client;
|
|
42625
|
-
this.canvasEvents = CANVAS_EVENTS;
|
|
42627
|
+
this.canvasEvents = CANVAS_EVENTS.slice();
|
|
42626
42628
|
this.canvaseventlistener = (event) => this.emit(event);
|
|
42627
42629
|
this.draggerFactory = {
|
|
42628
42630
|
Pan: PanDragger,
|
|
@@ -42847,6 +42849,7 @@
|
|
|
42847
42849
|
}
|
|
42848
42850
|
|
|
42849
42851
|
exports.CANVAS_EVENTS = CANVAS_EVENTS;
|
|
42852
|
+
exports.CanvasEvents = CanvasEvents;
|
|
42850
42853
|
exports.Options = Options;
|
|
42851
42854
|
exports.Viewer = Viewer;
|
|
42852
42855
|
exports.commands = commands;
|