fix(ui): gdlint ordering — signals before enums, signal uses int for Mode

Moved signals above enum per gdlint class-definitions-order rule.
app_changed signal uses int instead of Mode type to avoid the
forward-reference that forced wrong ordering. Callers compare
against HudGroups.Mode.FULLSCREEN etc unchanged.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-05 11:25:22 +02:00
co-authored by Claude Opus 4.6
parent 2e01081de7
commit ffef2b3d54
3 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ func toggle_visible() -> void:
## Respond to app layer changes (D-170).
func _on_app_changed(app_path: String, mode: HudGroups.Mode) -> void:
func _on_app_changed(app_path: String, mode: int) -> void:
if app_path != "implant/map/starchart":
return
if mode == HudGroups.Mode.FULLSCREEN or mode == HudGroups.Mode.INSERT: