summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-24 22:33:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-24 22:33:11 +0100
commitcaa5191f74e06fe77eaca244de3a58ce3a015d56 (patch)
tree3ff69956a45b4f79522fa101d654c16472bc41d8 /Libraries
parentd8d86ec38d68cff025c474144ed559ed10bc9194 (diff)
downloadserenity-caa5191f74e06fe77eaca244de3a58ce3a015d56.zip
LibGUI: Use ColorRole::BaseText for the GCheckBox checkmark
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/GCheckBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GCheckBox.cpp b/Libraries/LibGUI/GCheckBox.cpp
index 6378d569e6..f46eee6124 100644
--- a/Libraries/LibGUI/GCheckBox.cpp
+++ b/Libraries/LibGUI/GCheckBox.cpp
@@ -64,7 +64,7 @@ void GCheckBox::paint_event(GPaintEvent& event)
if (is_checked()) {
if (!s_checked_bitmap)
s_checked_bitmap = &CharacterBitmap::create_from_ascii(s_checked_bitmap_data, s_checked_bitmap_width, s_checked_bitmap_height).leak_ref();
- painter.draw_bitmap(box_rect.shrunken(4, 4).location(), *s_checked_bitmap, palette().button_text());
+ painter.draw_bitmap(box_rect.shrunken(4, 4).location(), *s_checked_bitmap, palette().base_text());
}
paint_text(painter, text_rect, font(), TextAlignment::TopLeft);