mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +00:00
parent
6203a4a2e9
commit
8461100bf7
Notes:
sideshowbarker
2024-07-18 21:04:54 +09:00
Author: https://github.com/linusg
Commit: 8461100bf7
Pull-request: https://github.com/SerenityOS/serenity/pull/5956
1 changed files with 1 additions and 0 deletions
|
@ -307,6 +307,7 @@ void WindowFrame::paint_menubar(Gfx::Painter& painter)
|
|||
painter.fill_rect(menubar_rect, palette.window());
|
||||
|
||||
Gfx::PainterStateSaver saver(painter);
|
||||
painter.add_clip_rect(menubar_rect);
|
||||
painter.translate(menubar_rect.location());
|
||||
|
||||
m_window.menubar()->for_each_menu([&](Menu& menu) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue