Simplify some code

This commit is contained in:
Gouvernathor 2023-11-15 04:45:11 +01:00
parent 0381093229
commit d6ef320c5d

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")