Move mouse tile drag to a distance constraint
This commit is contained in:
parent
265f04fc0a
commit
64dfb17fa1
@ -61,7 +61,7 @@ export function TileDragProvider({
|
||||
} = useGroup();
|
||||
|
||||
const mouseSensor = useSensor(MouseSensor, {
|
||||
activationConstraint: { delay: 250, tolerance: 5 },
|
||||
activationConstraint: { distance: 5 },
|
||||
});
|
||||
const touchSensor = useSensor(TouchSensor, {
|
||||
activationConstraint: { delay: 250, tolerance: 5 },
|
||||
|
Loading…
Reference in New Issue
Block a user