mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
WindowServer: Remove "system menu" concept from WindowServer
This commit is contained in:
parent
619a223800
commit
327866520a
Notes:
sideshowbarker
2024-07-18 21:05:19 +09:00
Author: https://github.com/awesomekling
Commit: 327866520a
9 changed files with 19 additions and 148 deletions
|
@ -122,7 +122,7 @@ int Menu::content_width() const
|
|||
if (widest_shortcut)
|
||||
widest_item += padding_between_text_and_shortcut() + widest_shortcut;
|
||||
|
||||
return max(widest_item, rect_in_global_menubar().width()) + horizontal_padding() + frame_thickness() * 2;
|
||||
return max(widest_item, rect_in_window_menubar().width()) + horizontal_padding() + frame_thickness() * 2;
|
||||
}
|
||||
|
||||
void Menu::redraw()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue