From 7e494518f3f7da48d76cf187e362d2c4408f3689 Mon Sep 17 00:00:00 2001 From: Brendan Date: Wed, 17 Feb 2021 02:30:19 -0500 Subject: [PATCH] Fully ignore mouse events on splash screen (avoids drag + drop file into window) --- ElectronNET.Host/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ElectronNET.Host/main.js b/ElectronNET.Host/main.js index e52ef41..1a1efeb 100644 --- a/ElectronNET.Host/main.js +++ b/ElectronNET.Host/main.js @@ -125,6 +125,7 @@ function startSplashScreen() { skipTaskbar: true, show: true }); + splashScreen.setIgnoreMouseEvents(true); app.once('browser-window-created', () => { splashScreen.destroy();