forked from Blendman974/faceclaw
Add calendar app and accelerometer demo
This commit is contained in:
1 parent
3cdc5ba262
commit
ff447d5161
18 files changed
+911
-5
No files matched your search
@@ -367,6 +367,15 @@ class Shell {
|
||||
return this.screenOn && this.focus === "window" && this.foregroundWindow()?.windowId === windowId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether a window's content is on screen: it's the foreground window and the
|
||||
* screen is on. Focus-independent — the app viewport stays visible while the
|
||||
* sidebar is focused (the sidebar is just the left strip).
|
||||
*/
|
||||
isWindowVisible(windowId: string): boolean {
|
||||
return this.screenOn && this.foregroundWindow()?.windowId === windowId;
|
||||
}
|
||||
|
||||
private handleSidebarInput(event: DashboardInputEvent): ShellInputOutcome {
|
||||
switch (event.type) {
|
||||
case "double-click":
|
||||
|
||||
Reference in new issue
Block a user