From 008f36aa2fe9fd1b6111e81006744d6f3ec47fc2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 14 Jan 2019 20:52:27 +0300 Subject: [PATCH] minor tweaking... Signed-off-by: Alex A. Naanou --- ui (gen4)/e.js | 4 ++++ ui (gen4)/splash.html | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ui (gen4)/e.js b/ui (gen4)/e.js index 0155573f..debe13cd 100644 --- a/ui (gen4)/e.js +++ b/ui (gen4)/e.js @@ -81,6 +81,10 @@ function createWindow(){ // Create the browser window. win = new BrowserWindow({ + webPreferences: { + nodeIntegration: true, + }, + // let the window to get ready before we show it to the user... show: false, diff --git a/ui (gen4)/splash.html b/ui (gen4)/splash.html index be8088df..f51869aa 100644 --- a/ui (gen4)/splash.html +++ b/ui (gen4)/splash.html @@ -16,15 +16,15 @@ body { } .block { position: absolute; - top: 40px; - left: 40px; - right: 40px; - bottom: 40px; + top: 50px; + left: 50px; + right: 50px; + bottom: 50px; background-image: url('images/splash-800x500.jpg'); background-size: cover; background-color: #333333; box-shadow: inset 0px 0px 100px 0px rgba(0,0,0,1), - 10px 10px 60px 0px rgba(0,0,0,0.7); + 10px 10px 60px 0px rgba(0,0,0,0.5); } .title {