diff options
Diffstat (limited to 'devel/electron29/files/patch-ui_native__theme_native__theme__features.cc')
-rw-r--r-- | devel/electron29/files/patch-ui_native__theme_native__theme__features.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-ui_native__theme_native__theme__features.cc b/devel/electron29/files/patch-ui_native__theme_native__theme__features.cc new file mode 100644 index 000000000000..95bfa419924a --- /dev/null +++ b/devel/electron29/files/patch-ui_native__theme_native__theme__features.cc @@ -0,0 +1,20 @@ +--- ui/native_theme/native_theme_features.cc.orig 2024-02-21 00:21:15 UTC ++++ ui/native_theme/native_theme_features.cc +@@ -54,7 +54,7 @@ bool IsFluentScrollbarEnabled() { + + bool IsFluentScrollbarEnabled() { + // Fluent scrollbars are only used for some OSes due to UI design guidelines. +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return base::FeatureList::IsEnabled(features::kFluentScrollbar) || + IsFluentOverlayScrollbarEnabled(); + #else +@@ -63,7 +63,7 @@ bool IsFluentOverlayScrollbarEnabled() { + } + bool IsFluentOverlayScrollbarEnabled() { + // Fluent scrollbars are only used for some OSes due to UI design guidelines. +-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + return base::FeatureList::IsEnabled(features::kFluentOverlayScrollbar); + #else + return false; |