Skip to content

Commit

Permalink
fix: select dragging would stop after a few ms
Browse files Browse the repository at this point in the history
  • Loading branch information
arnog committed Dec 6, 2023
1 parent 6082c31 commit 9dad561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/menu/context-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export async function onContextMenu(
if (await onLongPress(event)) {
if (menu.state !== 'closed') return false;
menu.show({ target, location });
return true;
}
return true;
}

return false;
Expand Down

0 comments on commit 9dad561

Please sign in to comment.