From 864ae4a8472615332a8632876ecd685ae7647df2 Mon Sep 17 00:00:00 2001 From: Shard Date: Sun, 29 Mar 2026 14:14:18 +0000 Subject: [PATCH] Ignore single-touch PanGesture to preserve one-finger orbit --- Client/origin-client/scenes/game/game_screen.gd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Client/origin-client/scenes/game/game_screen.gd b/Client/origin-client/scenes/game/game_screen.gd index 1ccc55a..0bbad61 100644 --- a/Client/origin-client/scenes/game/game_screen.gd +++ b/Client/origin-client/scenes/game/game_screen.gd @@ -897,6 +897,11 @@ func _unhandled_input(event: InputEvent) -> void: _zoom((mg.factor - 1.0) * 8.0) elif event is InputEventPanGesture: + # On touch devices, treat pan-gesture as two-finger pan only. + # Some browsers emit PanGesture during single-finger movement; + # ignore that so single-finger remains orbit. + if _touch_points.size() == 1 and not _was_multi_touch: + return var pg := event as InputEventPanGesture var ps := _cam_distance * 0.004 var right := _camera_rig.global_basis.x * -pg.delta.x * ps