css: reduce overdraws from "textview > text"
authorChristian Hergert <christian@hergert.me>
Sat, 12 Feb 2022 07:02:20 +0000 (23:02 -0800)
committerChristian Hergert <christian@hergert.me>
Sat, 12 Feb 2022 07:06:16 +0000 (23:06 -0800)
This was causing us to draw the same background content twice which is a
significant amount of bits to flip in the GPU for maximized windows,
especially twice.

gtk/theme/Default/_common.scss

index 02af5e936ca6c1cc0fbb89a8f25f11bf4bf0c6b9..27e75a2d52e4c8ecbe7dac9ac79e6e7d7c500976 100644 (file)
@@ -66,6 +66,8 @@ textview {
   > text {
     @extend %view;
 
+    background-color: transparent;
+
     > selection {
       background-color: $backdrop_selected_bg_color;