Finish adding debugging command and ability to swap the orientation of a container

This commit is contained in:
Lucas Oskorep committed 2025-10-17 01:25:47 -04:00
1 parent ce8807a7d9
commit b641561bca
6 files changed
+141 -9

No files matched your search

+8
View File
@@ -30,6 +30,14 @@ export default class WindowContainer {
this.tileWindows();
}
toggleOrientation(): void {
this._orientation = this._orientation === Orientation.HORIZONTAL
? Orientation.VERTICAL
: Orientation.HORIZONTAL;
Logger.info(`Container orientation toggled to ${this._orientation === Orientation.HORIZONTAL ? 'HORIZONTAL' : 'VERTICAL'}`);
this.tileWindows();
}
addWindow(winWrap: WindowWrapper): void {
// Add window to managed windows
this._tiledItems.push(winWrap);