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">Barra</string>
<string name="hud_locked">Fijar posición</string>
<string name="hud_locked_hint">Arrastra el HUD para moverlo; una pulsación larga lo bloquea o lo desbloquea. Mientras está bloqueado, los controles en pantalla que tiene debajo siguen funcionando.</string>
<string name="hud_locked_hint">Arrastra el HUD para moverlo. Mientras está bloqueado, los controles en pantalla que tiene debajo siguen funcionando.</string>
<string name="hud_hold">Pulsación larga</string>
<string name="hud_hold_collapse">Contraer o expandir</string>
<string name="hud_hold_lock">Bloquear o desbloquear</string>
<string name="hud_snap">Ajustar a los lados</string>
<string name="hud_snap_hint">Al soltar el HUD, se mueve al lado más cercano de la pantalla. Un gesto rápido lo lanza en esa dirección.</string>
<string name="hud_group_look">Aspecto</string>