Handle empty history
This commit is contained in:
parent
0248476ac5
commit
4706519a63
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user