mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 23:36:04 +00:00
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:
1 parent
8e514ada62
commit
fde3089900
41 files changed
+369
-51
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user