Skip to content

Commit

Permalink
Recursively invalidate styles when disabled status changes (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc authored Dec 24, 2023
1 parent ac36545 commit 77bcbcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 77bcbcb

Please sign in to comment.