diff options
Diffstat (limited to 'widget/ScrollbarDrawingGTK.cpp')
-rw-r--r-- | widget/ScrollbarDrawingGTK.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/widget/ScrollbarDrawingGTK.cpp b/widget/ScrollbarDrawingGTK.cpp index 3e0cad9179..9262667dcb 100644 --- a/widget/ScrollbarDrawingGTK.cpp +++ b/widget/ScrollbarDrawingGTK.cpp @@ -116,10 +116,7 @@ bool ScrollbarDrawingGTK::PaintScrollbarThumb( } bool ScrollbarDrawingGTK::ShouldDrawScrollbarButtons() { - if (StaticPrefs::widget_non_native_theme_enabled()) { - return StaticPrefs::widget_non_native_theme_gtk_scrollbar_allow_buttons(); - } - return true; + return StaticPrefs::widget_non_native_theme_gtk_scrollbar_allow_buttons(); } void ScrollbarDrawingGTK::RecomputeScrollbarParams() { |