fix(ui): reset selected-card-index on card draw button click

This commit is contained in:
Kieran Kihn
2025-12-17 23:37:36 +08:00
parent 68ccfe2147
commit 6276dbdea3

View File

@@ -605,6 +605,7 @@ export component GamePage inherits Window {
width: parent.width;
height: parent.height;
clicked => {
root.selected-card-index = -1;
root.request-draw-card();
}
}