mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 20:57:08 +08:00
fix: drag delay (#2621)
This commit is contained in:
@@ -382,7 +382,7 @@ export const WorkspaceLayoutInner: FC<PropsWithChildren> = ({ children }) => {
|
|||||||
// Otherwise clicks would be intercepted
|
// Otherwise clicks would be intercepted
|
||||||
useSensor(MouseSensor, {
|
useSensor(MouseSensor, {
|
||||||
activationConstraint: {
|
activationConstraint: {
|
||||||
delay: 10,
|
delay: 500,
|
||||||
tolerance: 10,
|
tolerance: 10,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user