forked from Blendman974/faceclaw
Add screen-size setting to Navigate and Terminal apps
This commit is contained in:
1 parent
50f2041eea
commit
1524766996
15 files changed
+501
-56
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user