This commit is contained in:
Lim Chee Aun 2023-04-24 21:36:03 +08:00
parent 163961c494
commit e7a1aa1418
2 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ function NavMenu(props) {
states.showAccounts = true; states.showAccounts = true;
}, },
{ {
threshold: 1000, threshold: 600,
detect: 'touch', detect: 'touch',
cancelOnMovement: true, cancelOnMovement: true,
}, },

View file

@ -673,7 +673,7 @@ function Status({
setIsContextMenuOpen(true); setIsContextMenuOpen(true);
}, },
{ {
threshold: 1000, threshold: 600,
captureEvent: true, captureEvent: true,
detect: 'touch', detect: 'touch',
cancelOnMovement: true, cancelOnMovement: true,
@ -1836,7 +1836,7 @@ function FilteredStatus({ status, filterInfo, instance, containerProps = {} }) {
setShowPeek(true); setShowPeek(true);
}, },
{ {
threshold: 1000, threshold: 600,
captureEvent: true, captureEvent: true,
detect: 'touch', detect: 'touch',
cancelOnMovement: true, cancelOnMovement: true,