From e962982fbad447b440822321d719458fb29e9656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20=C5=A0olt=C3=A9s?= Date: Sat, 7 Nov 2026 20:54:10 +0100 Subject: [PATCH] Keep the toolbar enabled while cards animate Every move disabled New game, Restart, Undo, Hint, Auto move and Draw for the length of its animation, and the disabled style dims a casino button to 45 % opacity, so the whole toolbar blinked on each click. The actions already return early while input is blocked (input_blocked), so the buttons stay enabled; Undo still follows whether there is a move to undo. --- Solitaire/src/views/casino_view.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Solitaire/src/views/casino_view.rs b/Solitaire/src/views/casino_view.rs index 587cf6e..7d67bcd 100644 --- a/Solitaire/src/views/casino_view.rs +++ b/Solitaire/src/views/casino_view.rs @@ -464,12 +464,10 @@ impl CasinoView { ), } ))); - let busy = self.is_animating(); - view.get_control::