소스 검색

LibGUI: Tweak GScrollBar gutter color.

Andreas Kling 6 년 전
부모
커밋
d12b6b8677
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      LibGUI/GScrollBar.cpp

+ 1 - 1
LibGUI/GScrollBar.cpp

@@ -188,7 +188,7 @@ void GScrollBar::paint_event(GPaintEvent& event)
     GPainter painter(*this);
     GPainter painter(*this);
     painter.set_clip_rect(event.rect());
     painter.set_clip_rect(event.rect());
 
 
-    painter.fill_rect(rect(), Color(164, 164, 164));
+    painter.fill_rect(rect(), Color::from_rgb(0xd6d2ce));
 
 
     GStyle::the().paint_button(painter, up_button_rect(), GButtonStyle::Normal, false);
     GStyle::the().paint_button(painter, up_button_rect(), GButtonStyle::Normal, false);
     painter.draw_bitmap(up_button_rect().location().translated(3, 3), orientation() == Orientation::Vertical ? *s_up_arrow_bitmap : *s_left_arrow_bitmap, has_scrubber() ? Color::Black : Color::MidGray);
     painter.draw_bitmap(up_button_rect().location().translated(3, 3), orientation() == Orientation::Vertical ? *s_up_arrow_bitmap : *s_left_arrow_bitmap, has_scrubber() ? Color::Black : Color::MidGray);