mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
WindowServer: Fix some pixels in menus after window border changes
This commit is contained in:
parent
c3a2dffe29
commit
2822b1035f
Notes:
sideshowbarker
2024-07-19 07:09:10 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2822b1035fe
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…
Reference in a new issue