mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
fix(ui): reset selected-card-index on card draw button click
This commit is contained in:
@@ -605,6 +605,7 @@ export component GamePage inherits Window {
|
|||||||
width: parent.width;
|
width: parent.width;
|
||||||
height: parent.height;
|
height: parent.height;
|
||||||
clicked => {
|
clicked => {
|
||||||
|
root.selected-card-index = -1;
|
||||||
root.request-draw-card();
|
root.request-draw-card();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user