fix(android): route hardware back through app navigation

Handle ui_cancel and the Android back-request notification. Back now dismisses overlays in priority order, closes the win overlay, navigates back, and asks for confirmation before quitting on Home.
This commit is contained in:
Ratdoku Builder committed 2026-12-03 00:07:27 -06:00
1 parent 804f68699d
commit f9ab1c26a0
3 files changed
+180

No files matched your search

+5
View File
@@ -349,6 +349,11 @@ func restart_room() -> void:
start_level(level_index, daily_mode, daily_key)
func hide_win() -> void:
win_shown = false
overlay.visible = false
func _on_board_changed() -> void:
if win_shown:
return