Simplify some code

(cherry picked from commit 641893217e)
This commit is contained in:
Gouvernathor 2023-11-15 04:45:11 +01:00 committed by LoafyLemon
parent 4ee49a225b
commit 2a54c483e8

View File

@ -128,7 +128,8 @@ style loading_trivia_text:
layeredimage loading: layeredimage loading:
always "gui_fade" always "gui_fade"
always Transform(Text("Loading", style="loading_text"), align=(0.5, 0.4)) always Text("Loading", style="loading_text"):
align (0.5, 0.4)
always "loading_spinner" always "loading_spinner"
image loading_spinner: image loading_spinner:
@ -154,8 +155,6 @@ image loading_spinner:
pause 0.1 pause 0.1
Text("{unicode}╞═════════▰╡{/unicode}", style="loading_text") Text("{unicode}╞═════════▰╡{/unicode}", style="loading_text")
pause 0.1 pause 0.1
Text("{unicode}╞═════════▰╡{/unicode}", style="loading_text")
pause 0.1
Text("{unicode}╞════════▰═╡{/unicode}", style="loading_text") Text("{unicode}╞════════▰═╡{/unicode}", style="loading_text")
pause 0.1 pause 0.1
Text("{unicode}╞═══════▰══╡{/unicode}", style="loading_text") Text("{unicode}╞═══════▰══╡{/unicode}", style="loading_text")