Update the launcher, Files app and builtin games to better handle watch swipe gestures

This commit is contained in:
James Babcock committed 2026-08-30 15:03:53 -07:00
1 parent 0eddd862ad
commit 061b2eb215
16 files changed
+323 -35

No files matched your search

+3
View File
@@ -106,6 +106,8 @@ export async function launchWorkerAppWindow(
* windows are open).
*/
matchExistingBy?: "appId" | "windowId";
/** Deliver watch swipes raw instead of the fallback (see WorkerWindowSpec). */
acceptsDirectional?: boolean;
},
): Promise<void> {
const existing = shell
@@ -125,6 +127,7 @@ export async function launchWorkerAppWindow(
iconLetter: options.iconLetter,
icon: options.icon,
focus: true,
acceptsDirectional: options.acceptsDirectional,
});
ctx.appendLog(`launched ${options.windowId}`);
}