1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 20:45:00 +00:00

LibGUI: Use SystemColor::Text in more places

This commit is contained in:
Andreas Kling 2019-12-24 01:29:18 +01:00
parent 79f7482ad3
commit 9171aef724
6 changed files with 9 additions and 7 deletions

View file

@ -154,7 +154,7 @@ void GAbstractButton::paint_text(GPainter& painter, const Rect& rect, const Font
if (text().is_empty())
return;
painter.draw_text(clipped_rect, text(), font, text_alignment, foreground_color(), TextElision::Right);
painter.draw_text(clipped_rect, text(), font, text_alignment, SystemColor::Text, TextElision::Right);
if (is_focused())
painter.draw_rect(clipped_rect.inflated(6, 4), Color(140, 140, 140));
}