diff --git a/utils/window-arrangement.ts b/utils/window-arrangement.ts index abd3937..8e7b8ee 100644 --- a/utils/window-arrangement.ts +++ b/utils/window-arrangement.ts @@ -18,7 +18,7 @@ export function cascade(viewport: DOMRect, windows: Array): void { export function maximize(viewport: DOMRect, windows: Array): void { windows.forEach((item) => { - item.winbox.maximize(); + item.winbox.resize(viewport.width, viewport.height).move(0, 0); removeWindowControls(item.winbox); }); }