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
@@ -708,7 +708,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>