From 9999b3aa0c7686d408bd76f0465e21627b372a1c Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Thu, 31 Mar 2016 12:44:00 +0200 Subject: [PATCH] Hide cursor and updated electron params --- css/main.css | 1 + js/electron.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index de6b2266..6492d8a8 100644 --- a/css/main.css +++ b/css/main.css @@ -1,4 +1,5 @@ body { + cursor: none; margin: 60px; position: relative; background: #000; diff --git a/js/electron.js b/js/electron.js index e49265b8..fc05c10e 100755 --- a/js/electron.js +++ b/js/electron.js @@ -23,7 +23,7 @@ let mainWindow; function createWindow () { // Create the browser window. - mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, nodeIntegration: false}); + mainWindow = new BrowserWindow({width: 800, height: 600, fullscreen: true, autoHideMenuBar: true, webPreferences: {nodeIntegration: false}}); // and load the index.html of the app. //mainWindow.loadURL('file://' + __dirname + '../../index.html');