diff --git a/engine/package.json b/engine/package.json index b2199cc2..f65d7bed 100644 --- a/engine/package.json +++ b/engine/package.json @@ -1,6 +1,6 @@ { "name": "goban-engine", - "version": "8.3.50", + "version": "8.3.51", "description": "", "main": "build/goban-engine.js", "types": "build/engine/index.d.ts", diff --git a/package.json b/package.json index 1f3ca5a3..562b396f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "goban", - "version": "8.3.50", + "version": "8.3.51", "description": "", "main": "build/goban.js", "types": "build/src/index.d.ts", diff --git a/src/Goban/SVGRenderer.ts b/src/Goban/SVGRenderer.ts index ecb49deb..1d7d4f84 100644 --- a/src/Goban/SVGRenderer.ts +++ b/src/Goban/SVGRenderer.ts @@ -532,9 +532,10 @@ export class SVGRenderer extends Goban implements GobanSVGInterface { }; const onMouseUp = (ev: MouseEvent) => { if (!mouse_disabled) { - pointerUp(ev, false); + dragging = false; + //pointerUp(ev, false); } - ev.preventDefault(); + //ev.preventDefault(); return false; }; const onMouseMove = (ev: MouseEvent) => {