mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-01 12:02:07 +08:00
refactor: update PointerSensor activation constraint to improve responsiveness
This commit is contained in:
@@ -277,7 +277,9 @@ export const ProxyChain = ({
|
||||
}, [proxyChain.length, markUnsavedChanges]);
|
||||
|
||||
const sensors = useSensors(
|
||||
useSensor(PointerSensor),
|
||||
useSensor(PointerSensor, {
|
||||
activationConstraint: { distance: 8 },
|
||||
}),
|
||||
useSensor(KeyboardSensor, {
|
||||
coordinateGetter: sortableKeyboardCoordinates,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user