improve ui

This commit is contained in:
2026-06-01 20:17:20 +02:00
parent 0c44b420d1
commit 6c4f659fd0
7 changed files with 82 additions and 39 deletions

View File

@@ -48,9 +48,9 @@ func disable_photo_mode() -> void:
func _input(event: InputEvent) -> void:
if event.is_action_pressed("toggle_photo_mode"):
if not is_active:
enable_photo_mode()
GameState.on_enable_photo_mode_request.emit()
else:
disable_photo_mode()
GameState.on_disable_photo_mode_request.emit()
if event is InputEventMouseMotion and is_active:
total_yaw -= event.relative.x * rotation_speed