apps-menu: Add drop-shadow to application icons
... to make sure they are readable on light backgrounds. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/168
This commit is contained in:
committed by
Florian Müllner
parent
0469fc6aa9
commit
6eb3a62e2b
@@ -90,7 +90,9 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
|
||||
}
|
||||
|
||||
_updateIcon() {
|
||||
this._iconBin.set_child(this.getDragActor());
|
||||
let icon = this.getDragActor();
|
||||
icon.style_class = 'icon-dropshadow';
|
||||
this._iconBin.set_child(icon);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user