Feat : add toggle to disable dragging
This commit is contained in:
@@ -145,6 +145,7 @@ function mouseMove(e: MouseEvent) {
|
||||
dragStatus.value.hasClickedDown &&
|
||||
!dragStatus.value.dragging &&
|
||||
Math.sqrt(Math.abs(e.movementX * e.movementY)) > sensitivity
|
||||
&& settingsStore.enableDragging
|
||||
) {
|
||||
startDrag(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user