fix: drag delay (#2621)

This commit is contained in:
Whitewater
2023-05-31 01:21:50 -07:00
committed by GitHub
parent 094a479c2a
commit 90e70ed986

View File

@@ -382,7 +382,7 @@ export const WorkspaceLayoutInner: FC<PropsWithChildren> = ({ children }) => {
// Otherwise clicks would be intercepted
useSensor(MouseSensor, {
activationConstraint: {
delay: 10,
delay: 500,
tolerance: 10,
},
})