window-list: Fix .focused styling
Commit 039c66e7b7 wrapped the button in a container to
animate transitions, but didn't adjust the `.focused`
styling to still apply to the button (where it is
expected) rather than the wrapper.
Fix that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/328>
This commit is contained in:
@@ -358,9 +358,9 @@ class BaseButton extends DashItemContainer {
|
||||
|
||||
_updateStyle() {
|
||||
if (this._isFocused())
|
||||
this.add_style_class_name('focused');
|
||||
this._button.add_style_class_name('focused');
|
||||
else
|
||||
this.remove_style_class_name('focused');
|
||||
this._button.remove_style_class_name('focused');
|
||||
}
|
||||
|
||||
_windowEnteredOrLeftMonitor(_metaDisplay, _monitorIndex, _metaWindow) {
|
||||
|
||||
Reference in New Issue
Block a user