Skip to content

Commit cee4adf

Browse files
committed
Fix - single touch handling for frame painter
1 parent 40447fd commit cee4adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/gpad/TFramePainter.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,8 +1074,8 @@ const FrameInteractive = {
10741074
.on('touchend', null, true);
10751075
} else if (settings.ContextMenu) {
10761076
this.zoom_curr = arr[0];
1077-
this.getFrameSvg().on('touchcancel', this.endTouchSel.bind(this))
1078-
.on('touchend', this.endTouchSel.bind(this));
1077+
this.getFrameSvg().on('touchcancel', evnt => this.endTouchMenu('', evnt))
1078+
.on('touchend', evnt => this.endTouchMenu('', evnt));
10791079
evnt.preventDefault();
10801080
evnt.stopPropagation();
10811081
}

0 commit comments

Comments
 (0)