Skip to content

Commit 103a1c2

Browse files
committed
Fix - prevent second drag rect on double touch
1 parent 01cbc11 commit 103a1c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gpad/TFramePainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function addDragHandler(_painter, arg) {
113113

114114
drag_move
115115
.on("start", function(evnt) {
116-
if (detectRightButton(evnt.sourceEvent)) return;
116+
if (detectRightButton(evnt.sourceEvent) || drag_rect) return;
117117

118118
closeMenu(); // close menu
119119

0 commit comments

Comments
 (0)