Add an option to move the app switcher to the right or bottom, and adjust screen depth if bottom

This commit is contained in:
James Babcock committed 2026-10-01 02:40:13 -07:00
1 parent 46fded856a
commit 8f99779f98
21 files changed
+827 -286

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ export class CompassCalibrationLayer implements Layer {
// The crosshair marks where the wearer is looking, so its horizontal
// position must be the true centre of the display, not of the app
// viewport the sidebar has pushed to the right. Vertically it just sits in
// viewport a side strip has pushed off centre. Vertically it just sits in
// the free space between the instructions and the readouts; the window
// band's own placement on screen is the wearer's Display setting and
// doesn't affect the heading being aimed.
+1 -1
View File
@@ -161,7 +161,7 @@ class CompassLayer implements Layer {
const readoutHeight = headingFont.lineHeight;
// One column centred on the display's true centre, so the rose sits where
// the wearer is looking rather than 32px right of it.
// the wearer is looking rather than 32px beside it (with a side strip).
const cx = screenCenterInViewportX();
// The rose is sized and placed first — it hangs off the bottom edge — and