The invisible_button screen

This commit is contained in:
Gouvernathor 2023-11-11 21:29:33 +01:00
parent 48ab47b45e
commit 19f49924d6
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ screen clothing_unlock(item):
elif isinstance(item, DollOutfit):
add item.image align (0.5, 0.0) yoffset -50 zoom 0.4
# should be replaced with the dismiss screen element
# there is no equivalent of the alternate property though
# but there should, but it's only used in one instance (so the other can have a dismiss in the meantime)
screen invisible_button(action=NullAction(), keysym=None, alternate=None):
# Note: Actions cannot be passed as transclude, separate parameter is required.