[gnome-shell] Revert "appDisplay: Add drop shadow to icons"



commit 69e81e4511c9ddd52aaa10cdbfb9cde615d41e07
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Sep 2 11:11:39 2020 +0200

    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 4e195d789ab99d02a6.

 js/ui/appDisplay.js | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 9e00823f63..cecf6d185b 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -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() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]