Restrict longpress start to left mouse button

This commit is contained in:
artisticMink
2023-10-31 19:18:31 +01:00
parent 27bc93936f
commit f1de1d4b77

View File

@ -323,7 +323,9 @@ class BulkEditOverlay {
document.removeEventListener('click', this.handleContextMenuHide);
}
handleHold = () => {
handleHold = (event) => {
if (0 !== event.button) return;
this.isLongPress = true;
setTimeout(() => {
if (this.isLongPress) {