diff --git a/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt b/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt index 253e197650..bc361b10b3 100644 --- a/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt +++ b/desktop/src/com/unciv/app/desktop/DesktopLauncher.kt @@ -10,6 +10,7 @@ import com.unciv.logic.files.UncivFiles import com.unciv.models.metadata.ScreenSize import com.unciv.models.metadata.WindowState import com.unciv.ui.components.Fonts +import com.unciv.ui.screens.basescreen.BaseScreen import com.unciv.utils.Display import com.unciv.utils.Log import java.awt.GraphicsEnvironment @@ -70,6 +71,7 @@ internal object DesktopLauncher { // the window might revert to the "config" values when the user moves the window - worse if they // minimize/restore. And the config default is 640x480 unless we set something here. config.setWindowedMode(max(settings.windowState.width, 100), max(settings.windowState.height, 100)) + config.setInitialBackgroundColor(BaseScreen.clearColor) if (!isRunFromJAR) { UniqueDocsWriter().write()