mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:38:11 +00:00
WindowServer: Fix some pixels in menus after window border changes
This commit is contained in:
parent
c3a2dffe29
commit
2822b1035f
1 changed files with 1 additions and 1 deletions
|
@ -187,8 +187,8 @@ void Menu::draw()
|
|||
Gfx::Painter painter(*menu_window()->backing_store());
|
||||
|
||||
Gfx::Rect rect { {}, menu_window()->size() };
|
||||
painter.fill_rect(rect.shrunken(6, 6), palette.menu_base());
|
||||
Gfx::StylePainter::paint_window_frame(painter, rect, palette);
|
||||
painter.fill_rect(rect.shrunken(6, 6), palette.menu_base());
|
||||
int width = this->content_width();
|
||||
|
||||
if (!s_checked_bitmap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue