window-list: Fix minimized styling
Commit039c66e7b7wrapped the button in a container to animate transitions, but didn't adjust the `.minimized` styling to still apply to the button (where it is expected) rather than the wrapper. Fix this just like commitc72b8b21did for the `.focused` styling. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/342>
This commit is contained in:
committed by
Marge Bot
parent
b14f040386
commit
28fd210f28
@@ -478,9 +478,9 @@ class WindowButton extends BaseButton {
|
||||
super._updateStyle();
|
||||
|
||||
if (this.metaWindow.minimized)
|
||||
this.add_style_class_name('minimized');
|
||||
this._button.add_style_class_name('minimized');
|
||||
else
|
||||
this.remove_style_class_name('minimized');
|
||||
this._button.remove_style_class_name('minimized');
|
||||
}
|
||||
|
||||
_windowEnteredOrLeftMonitor(metaDisplay, monitorIndex, metaWindow) {
|
||||
|
||||
Reference in New Issue
Block a user