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>