fix: harden recovery flow and clean diagnostics

This commit is contained in:
Alexander Sellite 2026-09-01 07:44:01 -04:00
parent 0158b0215f
commit ff78710303
64 changed files with 1163 additions and 418 deletions

View file

@ -91,14 +91,14 @@ func _initialize_motion() -> void:
_set_visual_y(_target_y())
func _on_toggled(is_pressed: bool) -> void:
if _selected and not is_pressed:
func _on_toggled(is_button_pressed: bool) -> void:
if _selected and not is_button_pressed:
# A selected organizer tab is a page marker, not a collapsible toggle.
# Restore without another signal before any lower-state frame is drawn.
set_pressed_no_signal(true)
refresh_state(false)
return
_selected = is_pressed
_selected = is_button_pressed
refresh_state()