forked from noxious/client
Major refractor, cleaning and improvements.
This commit is contained in:
@ -12,7 +12,7 @@ export function useCameraControls(scene: Phaser.Scene): any {
|
||||
const MOVE_RESET_DELAY = 100
|
||||
|
||||
function onPointerDown(pointer: Phaser.Input.Pointer) {
|
||||
if (pointer.event instanceof MouseEvent || pointer.event.altKey) {
|
||||
if (pointer.event instanceof MouseEvent || pointer.event.shiftKey) {
|
||||
pointerDownTimer = setTimeout(() => {
|
||||
isDragging.value = true
|
||||
gameStore.setMovingCamera(true)
|
||||
|
Reference in New Issue
Block a user