[gnome-shell-sass] theme: Remove background-color from .workspace-background



commit 06c1079661ea1ddfba4e545fec601d3ad9d4931a
Author: Daniel van Vugt <daniel van vugt canonical com>
Date:   Thu May 27 17:47:14 2021 +0800

    theme: Remove background-color from .workspace-background
    
    It's not visible because it's covered by the actual wallpaper, so
    not rendering it eliminates most of the render time for
    `workspace-background`, without changing its appearance.
    
    When animating the overview by tapping Super, this reduces the
    shell's overall render time by about 15%.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1904>

 widgets/_window-picker.scss | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/widgets/_window-picker.scss b/widgets/_window-picker.scss
index b3b93f2..fa3f191 100644
--- a/widgets/_window-picker.scss
+++ b/widgets/_window-picker.scss
@@ -48,6 +48,5 @@ $window_close_button_padding: 3px;
 .workspace-background {
   // keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js
   border-radius: 30px;
-  background-color: $osd_bg_color;
   box-shadow: 0 4px 16px 4px transparentize(darken($osd_bg_color, 30%), 0.7);
 }


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