From a2a7d7bff00c6908e85c56101221198fb94c2eba Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 29 Mar 2026 10:05:48 -0400 Subject: [PATCH] Fix indentation in _unhandled_input touch guard comment/condition Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- Client/origin-client/scenes/game/game_screen.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 68f892a..1ccc55a 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -822,9 +822,9 @@ func _unhandled_input(event: InputEvent) -> void: var delta := mm.position - _last_mouse _last_mouse = mm.position # On some mobile browsers, pinch emits synthetic mouse-motion/left-drag - # alongside touch/gesture events. Ignore mouse-orbit while touch is active - # (or was recently multi-touch) to prevent accidental camera spin. - if mm.button_mask & MOUSE_BUTTON_MASK_LEFT and _touch_points.is_empty() and not _was_multi_touch: + # alongside touch/gesture events. Ignore mouse-orbit while touch is active + # (or was recently multi-touch) to prevent accidental camera spin. + if mm.button_mask & MOUSE_BUTTON_MASK_LEFT and _touch_points.is_empty() and not _was_multi_touch: if delta.length() > 2.0: _drag_active = true _hold_timer.stop()