Fix Splash colour retrieval & show main window earlier if splash is disabled

This commit is contained in:
Vendicated
2025-02-06 05:36:10 +01:00
parent 9905592b24
commit 7e33780743
4 changed files with 47 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ export function createSplashWindow(startMinimized = false) {
const { splashBackground, splashColor, splashTheming } = Settings.store;
if (splashTheming) {
if (splashTheming !== false) {
if (splashColor) {
const semiTransparentSplashColor = splashColor.replace("rgb(", "rgba(").replace(")", ", 0.2)");