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">Mega</string>
<string name="hud_size_strip">Bară</string>
<string name="hud_locked">Blochează pe loc</string>
<string name="hud_locked_hint">Trage HUD-ul pentru a-l muta; o apăsare lungă îl blochează sau îl deblochează. Cât timp e blocat, comenzile de pe ecran de sub el funcționează în continuare.</string>
<string name="hud_locked_hint">Trage HUD-ul pentru a-l muta. Cât timp e blocat, comenzile de pe ecran de sub el funcționează în continuare.</string>
<string name="hud_hold">Apăsare lungă</string>
<string name="hud_hold_collapse">Restrânge sau extinde</string>
<string name="hud_hold_lock">Blochează sau deblochează</string>
<string name="hud_snap">Fixare în lateral</string>
<string name="hud_snap_hint">Eliberează HUD-ul și se mută în partea mai apropiată a ecranului. Un gest rapid îl aruncă în acea direcție.</string>
<string name="hud_group_look">Aspect</string>