Merge per-app full screen and keep-awake behavior

This commit is contained in:
Blendman974 committed 2026-11-06 03:18:01 +01:00
commit badebb0a17
11 files changed
+162 -6

No files matched your search

+6
View File
@@ -218,6 +218,12 @@ export class IosPreviewController {
shell.foregroundWindow()?.requestRender()
this.requestShellRender()
},
onWindowLayoutChanged: () => {
this.relayout()
shell.foregroundWindow()?.requestRender()
this.requestShellRender()
},
isLocked: () => this.glassesLocked,
onScreenStateChanged: on => {
if (on) this.glance.dismiss()
// A wake unblanks only once the next shell render has staged an awake