]> khamidou — GitHub mirrors - electron.git/commitdiff
Make the default_app unresizable.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 22 May 2014 01:09:32 +0000 (09:09 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 22 May 2014 01:09:32 +0000 (09:09 +0800)
atom/browser/default_app/default_app.js

index 0c2ddcfc8208cbb9f8d0b0ccf039c406ebcd74be..51123f1d8a65d80ac671275d648dcaaae99e663b 100644 (file)
@@ -17,6 +17,7 @@ app.on('ready', function() {
   mainWindow = new BrowserWindow({
     width: 800,
     height: 600,
+    resizable: false,
     'use-content-size': true,
   });
   mainWindow.loadUrl('file://' + __dirname + '/index.html');