mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:17:34 +00:00
WindowServer: Tweak appearance of window close buttons.
This commit is contained in:
parent
5773b91a04
commit
eedfb2649e
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ void WSWindowManager::paint_window_frame(WSWindow& window)
|
|||
|
||||
m_back_painter->fill_rect_with_gradient(close_button_rect.shrunken(2, 2), Color::LightGray, Color::White);
|
||||
|
||||
m_back_painter->draw_rect(close_button_rect, Color::DarkGray, true);
|
||||
m_back_painter->draw_rect(close_button_rect, Color::DarkGray);
|
||||
auto x_location = close_button_rect.center();
|
||||
x_location.move_by(-(s_close_button_bitmap_width / 2), -(s_close_button_bitmap_height / 2));
|
||||
m_back_painter->draw_bitmap(x_location, *s_close_button_bitmap, Color::Black);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue