Skip to content

Commit

Permalink
FIx bug when resizing browser #77
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Z Király authored and Lev Z Király committed Nov 28, 2023
1 parent eac3d02 commit 6038773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/window-arrangement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function cascade(viewport: DOMRect, windows: Array<WindowItem>): void {

export function maximize(viewport: DOMRect, windows: Array<WindowItem>): void {
windows.forEach((item) => {
item.winbox.maximize();
item.winbox.resize(viewport.width, viewport.height).move(0, 0);
removeWindowControls(item.winbox);
});
}
Expand Down

0 comments on commit 6038773

Please sign in to comment.