vim-web 0.3.44-dev.40 → 0.3.44-dev.41
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.
|
@@ -13,7 +13,7 @@ export declare class MouseHandler extends InputHandler {
|
|
|
13
13
|
onDoubleClick: (position: Vector2) => void;
|
|
14
14
|
onWheel: (value: number, ctrl: boolean) => void;
|
|
15
15
|
constructor(canvas: HTMLCanvasElement);
|
|
16
|
-
|
|
16
|
+
protected addListeners(): void;
|
|
17
17
|
dispose(): void;
|
|
18
18
|
private onPointerDown;
|
|
19
19
|
private onPointerUp;
|
package/dist/vim-web.iife.js
CHANGED
|
@@ -56574,7 +56574,7 @@ void main() {
|
|
|
56574
56574
|
this._capture = new CaptureStateMachine(canvas);
|
|
56575
56575
|
this._dragHandler = new DragHandler(canvas, (delta, button) => this.onDrag(delta, button));
|
|
56576
56576
|
}
|
|
56577
|
-
|
|
56577
|
+
addListeners() {
|
|
56578
56578
|
this.reg(this._canvas, "pointerdown", (e) => {
|
|
56579
56579
|
this.onPointerDown(e);
|
|
56580
56580
|
});
|