mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
WindowServer: Tweak appearance of window close buttons.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user