Skip to content

Commit

Permalink
Stylo: set parent flags on parent
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Dec 4, 2024
1 parent 66498fd commit 4bd6d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blitz-dom/src/stylo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ impl selectors::Element for BlitzNode<'_> {
let parent_flags = flags.for_parent();
if !parent_flags.is_empty() {
if let Some(parent) = self.parent_node() {
*parent.selector_flags.borrow_mut() |= self_flags;
*parent.selector_flags.borrow_mut() |= parent_flags;
}
}
}
Expand Down

0 comments on commit 4bd6d4f

Please sign in to comment.