Skip to content

Commit

Permalink
reduce timeout for double click to 150ms
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed May 25, 2024
1 parent 894a3a5 commit 2b64266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function DraggableItem(props) {
// presumably a triple click, could be used to edit folder details
console.log('selectInode', event.detail);
}
}, 250);
}, 150);

return () => {
clearTimeout(timer);
Expand Down

0 comments on commit 2b64266

Please sign in to comment.