This commit is contained in:
Михаил Капелько committed 2024-06-30 23:27:36 +03:00
1 parent eed8001a01
commit 9e24ab99b9
2 files changed
+14

No files matched your search

+13
View File
@@ -111,6 +111,19 @@ def desktop_hideMatchingTiles(p):
#} #}
#} #}
# Hide title
#
# Conditions:
# 1. tiles has been scheduled to hide after being matched or just mismatched
def desktop_hideTitle(p):
if (
p.c.recentField == "hideMatchingTiles" or
p.c.recentField == "mismatchedItems"
):
p.title.visible = False
#}
#}
# Load tile textures # Load tile textures
def desktop_loadTextures(p): def desktop_loadTextures(p):
texs = [] texs = []
+1
View File
@@ -97,6 +97,7 @@ def process(c):
desktop_displaySelectedTile(p) desktop_displaySelectedTile(p)
desktop_displayTitle(p) desktop_displayTitle(p)
desktop_hideMatchingTiles(p) desktop_hideMatchingTiles(p)
desktop_hideTitle(p)
desktop_scheduleHidingOfMatchingTiles(p) desktop_scheduleHidingOfMatchingTiles(p)
desktop_scheduleDeselectionOfMismatchedTiles(p) desktop_scheduleDeselectionOfMismatchedTiles(p)
ctrl.registerCallback(process) ctrl.registerCallback(process)