Skip to content

Commit

Permalink
Fix: adding min & max width & height to electron
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Mar 22, 2023
1 parent a8156a2 commit 6bb28ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,10 @@ function createWindow() {
const mainWindow = new BrowserWindow({
width: 1300,
height: 728,
minHeight: 500,
minWidth: 1100,
minHeight: 600,
maxWidth: 1500,
maxHeight: 800,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
Expand Down

0 comments on commit 6bb28ed

Please sign in to comment.