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
@@ -44,6 +44,8 @@ export type InProcessWindowOptions = {
* offer "Type Into App" for this window.
*/
receiveTextInput?: (text: string) => void;
/** Input focus moved into this window (see ShellWindow.onFocus). */
onFocus?: ShellWindow["onFocus"];
baseLayer: Layer;
submitFrame: (planes: Plane[], paintMs: number, frameId: number) => Promise<void>;
setSurfaceVisible: (visible: boolean) => void;
@@ -210,6 +212,7 @@ export function createInProcessWindow(options: InProcessWindowOptions): InProces
return handled;
},
receiveTextInput: options.receiveTextInput,
onFocus: options.onFocus,
setForeground: (foreground) => {
options.setSurfaceVisible(foreground);
},