From 6276dbdea3a91c055144ab209838764ab2fe9207 Mon Sep 17 00:00:00 2001 From: Kieran Kihn <114803508+kierankihn@users.noreply.github.com> Date: Wed, 17 Dec 2025 23:37:36 +0800 Subject: [PATCH] fix(ui): reset `selected-card-index` on card draw button click --- ui/GamePage.slint | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/GamePage.slint b/ui/GamePage.slint index 88c31d1..5bbc644 100644 --- a/ui/GamePage.slint +++ b/ui/GamePage.slint @@ -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(); } }