camera control fight

This commit is contained in:
dingo
2026-03-29 22:03:52 -04:00
parent 247d92c253
commit d541dccb78
4 changed files with 336 additions and 2 deletions
@@ -0,0 +1 @@
uid://j6rf4r0waaqa
@@ -159,7 +159,7 @@ func join(lid: String, deck_id: String, password: String,
lobby["hasGuest"] = true
lobby["additionalPlayers"] = d.get("additionalPlayers", [])
# Apply team assignments from join response if present.
var raw_st := d.get("seatTeams", null)
var raw_st : Variant = d.get("seatTeams", null)
if raw_st != null:
seat_teams.clear()
for k in (raw_st as Dictionary):
@@ -891,7 +891,7 @@ func _unhandled_input(event: InputEvent) -> void:
_touch_points[sd.index] = sd.position
if _touch_points.size() == 1 and not _was_multi_touch:
_touch_drag_total += sd.relative.length()
if _touch_drag_total > 12.0:
if _touch_drag_total > 36.0:
_touch_drag_active = true
_hold_timer.stop()
if _touch_drag_active: