mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Restrict longpress start to left mouse button
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user