Skip to content

Commit

Permalink
Implement minimum width and height for window (FreeTubeApp#5931)
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr authored Oct 25, 2024
1 parent effc31b commit 705ba70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,9 @@ function runApp() {
webSecurity: false,
backgroundThrottling: false,
contextIsolation: false
}
},
minWidth: 340,
minHeight: 380
}

const newWindow = new BrowserWindow(
Expand Down

0 comments on commit 705ba70

Please sign in to comment.