Revert "appDisplay: Add drop shadow to icons"

The shadows are hardly visible in the darkened overview, but have
a noticeable impact on performance.

This reverts commit 4e195d789a.
This commit is contained in:
Florian Müllner 2020-09-02 11:11:39 +02:00
parent 998e3e62ad
commit 69e81e4511

View File

@ -1341,11 +1341,7 @@ var AppSearchProvider = class AppSearchProvider {
metas.push({
id: app.get_id(),
name: app.get_name(),
createIcon: size => {
const icon = app.create_icon_texture(size);
icon.add_style_class_name('icon-dropshadow');
return icon;
},
createIcon: size => app.create_icon_texture(size),
});
} else {
let name = this._systemActions.getName(id);
@ -2507,9 +2503,7 @@ var AppIcon = GObject.registerClass({
}
_createIcon(iconSize) {
const icon = this.app.create_icon_texture(iconSize);
icon.add_style_class_name('icon-dropshadow');
return icon;
return this.app.create_icon_texture(iconSize);
}
_removeMenuTimeout() {