Add fade for say boxes in interface context
This commit is contained in:
parent
f2d96c8813
commit
481270faaf
@ -45,6 +45,7 @@ transform gui_modal_popup:
|
||||
on hide:
|
||||
easeout_back 0.4 zoom 0.0 alpha 0.0
|
||||
|
||||
image gui_fade_bottom = Frame(Image("gui/creamy_pumpkin_pie/fade_bottom.png", oversample=4), ysize=150, yalign=1.0)
|
||||
image gui_fade_both = Fixed(Frame(Image("gui/creamy_pumpkin_pie/fade_top.png", oversample=4)), Frame(Image("gui/creamy_pumpkin_pie/fade_bottom.png", oversample=4)))
|
||||
|
||||
style frame is empty:
|
||||
|
@ -30,6 +30,7 @@ screen say(who, what, side_doll=None, side_image=None, icon=None):
|
||||
|
||||
if not is_game_menu():
|
||||
# Allows dialogues to function inside interface elements
|
||||
# add "gui_fade_bottom"
|
||||
use invisible_button(Return(), keysym="dismiss")
|
||||
|
||||
if states.settings.interface_hidden:
|
||||
|
Loading…
Reference in New Issue
Block a user