From c4994f0ecac650229bc57405ac5739c52d7f6fa8 Mon Sep 17 00:00:00 2001 From: Logicer <81077770+Logicer16@users.noreply.github.com> Date: Fri, 24 Dec 2021 16:56:56 +1100 Subject: [PATCH 1/2] Splashscreen is no longer always on top --- arduino-ide-extension/src/electron-main/splash/splash-screen.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arduino-ide-extension/src/electron-main/splash/splash-screen.ts b/arduino-ide-extension/src/electron-main/splash/splash-screen.ts index 5769d6bb4..d61ce82be 100644 --- a/arduino-ide-extension/src/electron-main/splash/splash-screen.ts +++ b/arduino-ide-extension/src/electron-main/splash/splash-screen.ts @@ -143,6 +143,8 @@ export const initSplashScreen = ( slowStartup = true; showSplash(); }, xConfig.delay); + // Splashscreen is now on top of the main browser window. + window.on('show', () => splashScreen?.setAlwaysOnTop(false)); if (onCloseRequested) { onCloseRequested(() => closeSplashScreen(window, xConfig.minVisible)); } else { From abd73d432948f34699dbf7445a22c3e73e75ceec Mon Sep 17 00:00:00 2001 From: Logicer <81077770+Logicer16@users.noreply.github.com> Date: Fri, 24 Dec 2021 17:34:50 +1100 Subject: [PATCH 2/2] Stop splashscreen from being draggable --- .../src/electron-main/splash/static/splash.html | 1 + 1 file changed, 1 insertion(+) diff --git a/arduino-ide-extension/src/electron-main/splash/static/splash.html b/arduino-ide-extension/src/electron-main/splash/static/splash.html index e372bae3a..a794bdefc 100644 --- a/arduino-ide-extension/src/electron-main/splash/static/splash.html +++ b/arduino-ide-extension/src/electron-main/splash/static/splash.html @@ -12,6 +12,7 @@ img { max-width: 95%; height: auto; + -webkit-user-drag: none; }