feat(hud): long press collapses or expands the HUD, locking becomes an option (#2723)

* feat(hud): long press collapses or expands the HUD, locking becomes an option

* fix(hud): keep the collapsing tab at the press point while layout runs

The layout listener could run keepOnScreen during the dock animation and replace the press-centered target with the anchored edge position, which was then saved as the tab position. The dock animation now holds the same guard the other HUD animations use until the dock is committed.
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-16 15:29:17 -05:00
1 parent 8e514ada62
commit fde3089900
41 files changed
+369 -51

No files matched your search

+4 -1
View File
@@ -712,7 +712,10 @@
<string name="hud_size_mega">Méga</string>
<string name="hud_size_strip">Bandeau</string>
<string name="hud_locked">Verrouiller la position</string>
<string name="hud_locked_hint">Faites glisser le HUD pour le déplacer ; un appui long le verrouille ou le déverrouille. Tant qu\'il est verrouillé, les commandes à l\'écran situées dessous restent utilisables.</string>
<string name="hud_locked_hint">Faites glisser le HUD pour le déplacer. Tant qu\'il est verrouillé, les commandes à l\'écran situées dessous restent utilisables.</string>
<string name="hud_hold">Appui long</string>
<string name="hud_hold_collapse">Réduire ou développer</string>
<string name="hud_hold_lock">Verrouiller ou déverrouiller</string>
<string name="hud_snap">Aimanter sur les côtés</string>
<string name="hud_snap_hint">Relâchez le HUD et il rejoint le côté de l’écran le plus proche. Un geste rapide le lance dans cette direction.</string>
<string name="hud_group_look">Apparence</string>