Fix: Hauptmenue-Buttons reagieren auf confirm (Enter + Controller)

Ursache: Die Aktivierung verliess sich auf Godots eingebautes ui_accept,
das standardmaessig keinen Controller-Button enthaelt; die confirm-Action
aus der Input-Map wurde nie gelesen. Fix: confirm aktiviert in
_unhandled_input den fokussierten Button; Events, die auch ui_accept
matchen (Enter), bleiben dem eingebauten Pfad ueberlassen, sonst gaebe es
eine Doppel-Ausloesung (headless per Input-Sonde verifiziert:
Enter = 1x, Joypad-Button 0 = 1x). grab_focus laeuft jetzt deferred,
damit der Initial-Fokus auch nach Szenenwechseln sicher sitzt.
Dazu: von Godot 4.7 erzeugte Script-UIDs der Phase-1a-Dateien.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
danny 2026-07-04 16:38:07 +02:00
parent df795ef40d
commit ec8e1fa665
4 changed files with 32 additions and 7 deletions

View file

@ -0,0 +1 @@
uid://cmrgsx1tsswoh

View file

@ -0,0 +1 @@
uid://5a1troqr5458