mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 17:36:34 +00:00
Disable accent color in titlebar for improved aesthetics
This commit is contained in:
12
src/widget/windows/nsLookAndFeel-cpp.patch
Normal file
12
src/widget/windows/nsLookAndFeel-cpp.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/widget/windows/nsLookAndFeel.cpp b/widget/windows/nsLookAndFeel.cpp
|
||||
index 58c5fc3b55da47109e16cc3d6f44b0950b2965e7..ae1713898d0b8298480bdaf8a9ef7629423c3dee 100644
|
||||
--- a/widget/windows/nsLookAndFeel.cpp
|
||||
+++ b/widget/windows/nsLookAndFeel.cpp
|
||||
@@ -849,6 +849,7 @@ auto nsLookAndFeel::ComputeTitlebarColors() -> TitlebarColors {
|
||||
// turned on.
|
||||
result.mUseAccent =
|
||||
dwmKey.GetValueAsDword(u"ColorPrevalence"_ns).valueOr(0) == 1;
|
||||
+ result.mUseAccent = false; // Zen: Disable accent color in titlebar because it's ugly
|
||||
if (!result.mUseAccent) {
|
||||
return result;
|
||||
}
|
Reference in New Issue
Block a user