Skip to content

Commit

Permalink
Update app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Feb 18, 2025
1 parent ff65f5c commit 327980a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/src-electron/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ function createMainWindow() {
if (
savedWinBounds &&
((savedWinBounds?.width || 0) < minWidth ||
(savedWinBounds?.height || 0) < minHeight)
(savedWinBounds?.height || 0) < minHeight / ratio)
) {
savedWinBounds = {};
}
Expand Down

0 comments on commit 327980a

Please sign in to comment.