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">Мега</string>
<string name="hud_size_strip">Лента</string>
<string name="hud_locked">Заключване на място</string>
<string name="hud_locked_hint">Плъзнете HUD, за да го преместите; продължително натискане го заключва или отключва. Докато е заключен, екранните контроли под него продължават да работят.</string>
<string name="hud_locked_hint">Плъзнете HUD, за да го преместите. Докато е заключен, екранните контроли под него продължават да работят.</string>
<string name="hud_hold">Продължително натискане</string>
<string name="hud_hold_collapse">Свиване или разгъване</string>
<string name="hud_hold_lock">Заключване или отключване</string>
<string name="hud_snap">Залепване отстрани</string>
<string name="hud_snap_hint">Пуснете HUD и той отива към по-близката страна на екрана. Бързо плъзване го хвърля в тази посока.</string>
<string name="hud_group_look">Визия</string>