Handle empty history

This commit is contained in:
LoafyLemon 2024-06-18 18:45:13 +01:00
parent 0248476ac5
commit 4706519a63

View File

@ -18,6 +18,10 @@ screen history():
vbox:
style "history_vbox"
if not _history_list:
text "Nothing here yet..." style "navigation_text"
for entry in _history_list:
button:
style "history_entry"
@ -37,6 +41,7 @@ screen history():
$ what = renpy.filter_text_tags(entry.what, allow=gui.history_allow_tags)
text what style "history_text_what":
substitute False
frame style "navigation_page_right":
add "doodle_mountains" align (0.5, 0.5)