mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
faster expand on hold
This commit is contained in:
1 parent
a2cd70d7ca
commit
21a8b52035
1 file changed
+1
-1
@@ -218,7 +218,7 @@ export const Tree = ({
|
||||
|
||||
const useHoldHandler = useHold<DropTarget<Instance>>({
|
||||
isEqual: (a, b) => a.data.id === b.data.id,
|
||||
holdTimeThreshold: 1000,
|
||||
holdTimeThreshold: 600,
|
||||
onHold: (dropTarget) => {
|
||||
if (
|
||||
getIsExpandable(dropTarget.data) &&
|
||||
|
||||
Reference in new issue
Block a user