Fully ignore mouse events on splash screen (avoids drag + drop file into window)

This commit is contained in:
Brendan
2021-02-17 02:30:19 -05:00
parent 4596492cd9
commit 7e494518f3

View File

@@ -125,6 +125,7 @@ function startSplashScreen() {
skipTaskbar: true,
show: true
});
splashScreen.setIgnoreMouseEvents(true);
app.once('browser-window-created', () => {
splashScreen.destroy();