From 4db5cd6e848b1cd50a6517e74d8564de3c158051 Mon Sep 17 00:00:00 2001 From: Elias Pozewaunig <64259275+elpozewaunig@users.noreply.github.com> Date: Fri, 11 Oct 2024 22:07:53 +0200 Subject: [PATCH] Display correct splash color on web export --- misc/dist/html/full-size.html | 2 +- platform/web/export/export_plugin.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html index 352046df30b..b59c417d36f 100644 --- a/misc/dist/html/full-size.html +++ b/misc/dist/html/full-size.html @@ -38,7 +38,7 @@ body { } #status { - background-color: #242424; + background-color: $GODOT_SPLASH_COLOR; display: flex; flex-direction: column; justify-content: center; diff --git a/platform/web/export/export_plugin.cpp b/platform/web/export/export_plugin.cpp index efe3c95496c..a6835a28b24 100644 --- a/platform/web/export/export_plugin.cpp +++ b/platform/web/export/export_plugin.cpp @@ -169,6 +169,7 @@ void EditorExportPlatformWeb::_fix_html(Vector &p_html, const Refget("variant/thread_support")) {