mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Hide cursor and updated electron params
This commit is contained in:
parent
f9734dbc8b
commit
9999b3aa0c
@ -1,4 +1,5 @@
|
||||
body {
|
||||
cursor: none;
|
||||
margin: 60px;
|
||||
position: relative;
|
||||
background: #000;
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user