Skip to content

Commit

Permalink
Fix inadvertent breakage from prior patch
Browse files Browse the repository at this point in the history
Thanks @benjaminpjones for the tests that caught this!
  • Loading branch information
anoek committed Sep 12, 2024
1 parent 4567a55 commit 0810d91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion engine/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 3 additions & 2 deletions src/Goban/SVGRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

2 comments on commit 0810d91

@benjaminpjones
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anoek
Copy link
Member Author

@anoek anoek commented on 0810d91 Sep 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is

Please sign in to comment.