fix input and delete dead code

This commit is contained in:
2026-07-01 19:40:53 +02:00
parent 238dd4a124
commit c22fffdfc1
8 changed files with 48 additions and 63 deletions

View File

@@ -73,6 +73,8 @@ func _unhandled_input(event: InputEvent) -> void:
else:
_open_game_menu_on_page(2)
elif event.is_action_pressed("hide_ui"):
if photo_mode_texture_panel.visible:
return
if not game_menu_panel.visible:
_on_hide_ui_button_pressed()