Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
xou816 committed Jun 7, 2023
1 parent 5361d5d commit cbd3140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/headerbar/widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ impl HeaderBarWidget {

pub fn add_classes(&self, classes: &[&str]) {
for &class in classes {
self.add_css_class(class);
self.imp().main_header.add_css_class(class);
}
}

pub fn remove_classes(&self, classes: &[&str]) {
for &class in classes {
self.remove_css_class(class);
self.imp().main_header.remove_css_class(class);
}
}

Expand Down

0 comments on commit cbd3140

Please sign in to comment.