panel: Fix drawing functions for light theme

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2823>
This commit is contained in:
Sam Hewitt
2023-07-05 12:30:14 -02:30
committed by Marge Bot
parent 7b139b00f3
commit a466029374
3 changed files with 30 additions and 27 deletions

View File

@ -276,11 +276,11 @@ class ActivitiesButton extends PanelMenu.Button {
this.label_actor = this._label;
Main.overview.connect('showing', () => {
this.add_style_pseudo_class('overview');
this.add_style_pseudo_class('checked');
this.add_accessible_state(Atk.StateType.CHECKED);
});
Main.overview.connect('hiding', () => {
this.remove_style_pseudo_class('overview');
this.remove_style_pseudo_class('checked');
this.remove_accessible_state(Atk.StateType.CHECKED);
});