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:
Florian Müllner
2019-07-18 00:39:49 +02:00
committed by Florian Müllner
parent 0469fc6aa9
commit 6eb3a62e2b
+3 -1
View File
@@ -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);
}
});