Added web support for all missing splash screen properties

show_image, fullsize and use_filter are now supported too.

bg_color, image and minimum_display_time were already supported previously.
This commit is contained in:
Elias Pozewaunig
2024-11-15 02:00:19 +01:00
parent bdf625bd54
commit 8de13860e8
2 changed files with 21 additions and 1 deletions

View File

@@ -52,6 +52,20 @@ body {
margin: auto;
}
#status-splash.show-image--false {
display: none;
}
#status-splash.fullsize--true {
height: 100%;
width: 100%;
object-fit: contain;
}
#status-splash.use-filter--false {
image-rendering: pixelated;
}
#status-progress, #status-notice {
display: none;
}
@@ -88,7 +102,7 @@ body {
</noscript>
<div id="status">
<img id="status-splash" src="$GODOT_SPLASH" alt="">
<img id="status-splash" class="$GODOT_SPLASH_CLASSES" src="$GODOT_SPLASH" alt="">
<progress id="status-progress"></progress>
<div id="status-notice"></div>
</div>