Add screen-size setting to Navigate and Terminal apps

This commit is contained in:
James Babcock committed 2026-09-05 10:45:39 -07:00
1 parent 50f2041eea
commit 1524766996
15 files changed
+501 -56

No files matched your search

+5
View File
@@ -73,6 +73,11 @@ export class WindowMenu {
constructor(private readonly options: WindowMenuOptions) {}
resize(size: { width: number; height: number }): void {
this.options.size = size;
this.stack?.setBaseSize(size);
}
isOpen(): boolean {
return this.stack !== null;
}