Михаил Капелько 4 miesięcy temu
rodzic
commit
9e24ab99b9
2 zmienionych plików z 14 dodań i 0 usunięć
  1. +13
    -0
      v5/desktop.py
  2. +1
    -0
      v5/main-gui.py

+ 13
- 0
v5/desktop.py Wyświetl plik

@@ -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
def desktop_loadTextures(p):
texs = []


+ 1
- 0
v5/main-gui.py Wyświetl plik

@@ -97,6 +97,7 @@ def process(c):
desktop_displaySelectedTile(p)
desktop_displayTitle(p)
desktop_hideMatchingTiles(p)
desktop_hideTitle(p)
desktop_scheduleHidingOfMatchingTiles(p)
desktop_scheduleDeselectionOfMismatchedTiles(p)
ctrl.registerCallback(process)


Ładowanie…
Anuluj
Zapisz