Reset preventions earlier
This commit is contained in:
parent
e542f38110
commit
c365101ec2
@ -163,16 +163,17 @@ class Frontend {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.preventScroll = false;
|
||||||
|
this.preventNextContextMenu = false;
|
||||||
|
this.preventNextMouseDown = false;
|
||||||
|
this.preventNextClick = false;
|
||||||
|
|
||||||
const primaryTouch = e.changedTouches[0];
|
const primaryTouch = e.changedTouches[0];
|
||||||
if (Frontend.selectionContainsPoint(window.getSelection(), primaryTouch.clientX, primaryTouch.clientY)) {
|
if (Frontend.selectionContainsPoint(window.getSelection(), primaryTouch.clientX, primaryTouch.clientY)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.primaryTouchIdentifier = primaryTouch.identifier;
|
this.primaryTouchIdentifier = primaryTouch.identifier;
|
||||||
this.preventScroll = false;
|
|
||||||
this.preventNextContextMenu = false;
|
|
||||||
this.preventNextMouseDown = false;
|
|
||||||
this.preventNextClick = false;
|
|
||||||
|
|
||||||
if (this.pendingLookup) { return; }
|
if (this.pendingLookup) { return; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user