mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
WindowServer: Remove an unnecessary temporary variable
This commit is contained in:
parent
ad828b3cfc
commit
69dad3b996
Notes:
sideshowbarker
2024-07-18 12:04:51 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/69dad3b9967
@ -732,8 +732,7 @@ void WindowFrame::handle_mouse_event(MouseEvent const& event)
|
||||
return;
|
||||
}
|
||||
|
||||
auto menubar_rect = this->menubar_rect();
|
||||
if (menubar_rect.contains(event.position())) {
|
||||
if (menubar_rect().contains(event.position())) {
|
||||
wm.clear_resize_candidate();
|
||||
handle_menubar_mouse_event(event);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user