mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
WindowServer: Don't start window resize for MouseUp or MouseMove.
This commit is contained in:
@@ -298,6 +298,6 @@ void WSWindowFrame::on_mouse_event(const WSMouseEvent& event)
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_window.is_resizable() && event.button() == MouseButton::Left)
|
||||
if (m_window.is_resizable() && event.type() == WSEvent::MouseDown && event.button() == MouseButton::Left)
|
||||
wm.start_window_resize(m_window, event.translated(rect().location()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user