vim-web 0.3.44-dev.83 → 0.3.44-dev.84
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/vim-web.iife.js +0 -5
- package/dist/vim-web.iife.js.map +1 -1
- package/dist/vim-web.js +0 -5
- package/dist/vim-web.js.map +1 -1
- package/package.json +1 -1
package/dist/vim-web.iife.js
CHANGED
|
@@ -52496,9 +52496,6 @@ void main() {
|
|
|
52496
52496
|
this.reg(this._canvas, "wheel", (e) => {
|
|
52497
52497
|
this.onMouseScroll(e);
|
|
52498
52498
|
});
|
|
52499
|
-
this.reg(this._canvas, "dblclick", (e) => {
|
|
52500
|
-
this.handleDoubleClick(e);
|
|
52501
|
-
});
|
|
52502
52499
|
}
|
|
52503
52500
|
dispose() {
|
|
52504
52501
|
this.unregister();
|
|
@@ -52531,7 +52528,6 @@ void main() {
|
|
|
52531
52528
|
var _a3;
|
|
52532
52529
|
if (event.pointerType !== "mouse") return;
|
|
52533
52530
|
if (event.button !== 0) return;
|
|
52534
|
-
console.log("click!");
|
|
52535
52531
|
const pos = this.relativePosition(event);
|
|
52536
52532
|
if (!almostEqual(this._lastMouseDownPosition, pos, 0.01)) {
|
|
52537
52533
|
return;
|
|
@@ -52550,7 +52546,6 @@ void main() {
|
|
|
52550
52546
|
}
|
|
52551
52547
|
async handleDoubleClick(event) {
|
|
52552
52548
|
var _a3;
|
|
52553
|
-
console.log("double click!");
|
|
52554
52549
|
const pos = this.relativePosition(event);
|
|
52555
52550
|
(_a3 = this.onDoubleClick) == null ? void 0 : _a3.call(this, pos);
|
|
52556
52551
|
event.preventDefault();
|