Enforce a minimum window size

This commit is contained in:
David Balatero 2017-06-14 09:39:17 -07:00 committed by Scott Nonnenberg
parent 20fcd194d2
commit 9c21c3c7e6
No known key found for this signature in database
GPG key ID: A4931C09644C654B

View file

@ -82,6 +82,8 @@ function createWindow () {
const windowOptions = Object.assign({
width: 800,
height: 610,
minWidth: 700,
minHeight: 360,
webPreferences: {
nodeIntegration: false,
//sandbox: true,