mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
WindowServer: Paint window frame button symbols in SystemColor::Text
This commit is contained in:
parent
9a8032b479
commit
79f7482ad3
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void WSButton::paint(Painter& painter)
|
|||
x_location.move_by(-(m_bitmap->width() / 2), -(m_bitmap->height() / 2));
|
||||
if (m_pressed)
|
||||
x_location.move_by(1, 1);
|
||||
painter.draw_bitmap(x_location, *m_bitmap, Color::Black);
|
||||
painter.draw_bitmap(x_location, *m_bitmap, SystemColor::Text);
|
||||
}
|
||||
|
||||
void WSButton::on_mouse_event(const WSMouseEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue