diff options
Diffstat (limited to 'LibGUI/GScrollBar.cpp')
-rw-r--r-- | LibGUI/GScrollBar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GScrollBar.cpp b/LibGUI/GScrollBar.cpp index 76691f0df9..281b9a86df 100644 --- a/LibGUI/GScrollBar.cpp +++ b/LibGUI/GScrollBar.cpp @@ -129,10 +129,10 @@ void GScrollBar::paint_event(GPaintEvent&) painter.fill_rect(rect(), Color(164, 164, 164)); GStyle::the().paint_button(painter, up_button_rect(), false); - painter.draw_bitmap(up_button_rect().location().translated(3, 3), *s_up_arrow_bitmap, Color::Black); + painter.draw_bitmap(up_button_rect().location().translated(3, 3), *s_up_arrow_bitmap, has_scrubber() ? Color::Black : Color::MidGray); GStyle::the().paint_button(painter, down_button_rect(), false); - painter.draw_bitmap(down_button_rect().location().translated(3, 3), *s_down_arrow_bitmap, Color::Black); + painter.draw_bitmap(down_button_rect().location().translated(3, 3), *s_down_arrow_bitmap, has_scrubber() ? Color::Black : Color::MidGray); if (has_scrubber()) GStyle::the().paint_button(painter, scrubber_rect(), m_scrubbing); |