set minimum dimensions to 300x300 #2574

master
Mikael Finstad 1 day ago
parent 251024ba84
commit 251024fe74
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -157,6 +157,8 @@ function createWindow() {
webSecurity: !isDev,
},
backgroundColor: darkMode ? '#333' : '#fff',
minWidth: 300,
minHeight: 300,
});
if (savedBounds.isMaximized) mainWindow.maximize();

Loading…
Cancel
Save