1
Fork 0
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:
Andreas Kling 2019-03-06 22:36:37 +01:00
parent 5773b91a04
commit eedfb2649e

View file

@ -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);