Skip to content

Commit

Permalink
fix tab style
Browse files Browse the repository at this point in the history
This fixes an issue that @hydra was experiencing
with styling on tabs. It appears that sequential
tabs receive the inherited properties of previous
tabs.
  • Loading branch information
jrmoulton committed Dec 9, 2024
1 parent 439548d commit d7513e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ impl<'a> StyleCx<'a> {
{
let mut view_state = view_state.borrow_mut();
if !view_state.requested_changes.contains(ChangeFlags::STYLE) {
self.restore();
return;
}
view_state.requested_changes.remove(ChangeFlags::STYLE);
Expand Down

0 comments on commit d7513e0

Please sign in to comment.