projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5088103
)
css: reduce overdraws from "textview > text"
author
Christian Hergert
<christian@hergert.me>
Sat, 12 Feb 2022 07:02:20 +0000
(23:02 -0800)
committer
Christian 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
patch
|
blob
|
history
diff --git
a/gtk/theme/Default/_common.scss
b/gtk/theme/Default/_common.scss
index 02af5e936ca6c1cc0fbb89a8f25f11bf4bf0c6b9..27e75a2d52e4c8ecbe7dac9ac79e6e7d7c500976 100644
(file)
--- a/
gtk/theme/Default/_common.scss
+++ b/
gtk/theme/Default/_common.scss
@@
-66,6
+66,8
@@
textview {
> text {
@extend %view;
+ background-color: transparent;
+
> selection {
background-color: $backdrop_selected_bg_color;