From 77bcbcb0c70e5135c0cc99cb94200ba45cf722b2 Mon Sep 17 00:00:00 2001 From: Zoxc Date: Sun, 24 Dec 2023 12:32:31 +0100 Subject: [PATCH] Recursively invalidate styles when disabled status changes (#229) --- src/window_handle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window_handle.rs b/src/window_handle.rs index a956df2a..2703211c 100644 --- a/src/window_handle.rs +++ b/src/window_handle.rs @@ -772,7 +772,7 @@ impl WindowHandle { } else { cx.app_state.disabled.remove(&id); } - cx.app_state.request_style(id); + cx.app_state.request_style_recursive(id); } UpdateMessage::State { id, state } => { let id_path = ID_PATHS.with(|paths| paths.borrow().get(&id).cloned());