feat: HUD shrinks into its tab as it is dragged off an edge, and snaps to the sides (#1937)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-01 10:15:36 -05:00
1 parent ec9573643a
commit 9c5f1e4df9
38 files changed
+400 -48

No files matched your search

@@ -29,6 +29,8 @@ internal fun DroidDeckHudSettings(host: MenuHost, a: DrawerActions, track: (Stri
size, chipModifier = track("hud-size")) { a.onHudSetting("hudSize", it.token) }
ToggleRow(host, "hud-locked", stringResource(R.string.hud_locked), stringResource(R.string.hud_locked_hint), on("hudLocked"),
chipModifier = track("hud-locked")) { a.onHudSetting("hudLocked", flag(it)) }
ToggleRow(host, "hud-snap", stringResource(R.string.hud_snap), stringResource(R.string.hud_snap_hint), on("hudSnap"),
chipModifier = track("hud-snap")) { a.onHudSetting("hudSnap", flag(it)) }
}
if (!a.hudOn) return