|
|
@@ -78,6 +78,24 @@ def desktop_displaySelectedTile(p): |
|
|
|
#} |
|
|
|
#} |
|
|
|
|
|
|
|
# Display title for the first selected tile |
|
|
|
# |
|
|
|
# Conditions: |
|
|
|
# 1. tile has just been selected and it's the first one in pair |
|
|
|
def desktop_displayTitle(p): |
|
|
|
if ( |
|
|
|
p.c.recentField == "selectedId" and |
|
|
|
( |
|
|
|
len(p.c.selectedItems) == 0 or |
|
|
|
len(p.c.selectedItems) == 2 |
|
|
|
) |
|
|
|
): |
|
|
|
gid = p.c.playfieldItems[p.c.selectedId] |
|
|
|
p.title.texture = p.titleTextures[gid] |
|
|
|
p.title.visible = True |
|
|
|
#} |
|
|
|
#} |
|
|
|
|
|
|
|
# Hide matching tiles |
|
|
|
# |
|
|
|
# Conditions: |
|
|
|