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
@@ -710,7 +710,10 @@
<string name="hud_size_mega">Mega</string>
<string name="hud_size_strip">Bjælke</string>
<string name="hud_locked">Lås fast</string>
<string name="hud_locked_hint">Træk i HUD for at flytte det; et langt tryk låser eller frigør det. Mens det er låst, virker skærmknapperne under det stadig.</string>
<string name="hud_locked_hint">Træk i HUD for at flytte det. Mens det er låst, virker skærmknapperne under det stadig.</string>
<string name="hud_hold">Langt tryk</string>
<string name="hud_hold_collapse">Skjul eller udvid</string>
<string name="hud_hold_lock">Lås eller frigør</string>
<string name="hud_snap">Fastgør til siderne</string>
<string name="hud_snap_hint">Slip HUD\'en, så flytter den sig til skærmens nærmeste side. Et hurtigt stryg kaster den i den retning.</string>
<string name="hud_group_look">Udseende</string>