mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 08:35:26 +00:00
Invalidate the window when starting to drag it.
This ensures that the drag color shows up immediately.
This commit is contained in:
@@ -235,6 +235,7 @@ void WSWindowManager::handle_titlebar_mouse_event(WSWindow& window, MouseEvent&
|
||||
m_drag_window_origin = window.position();
|
||||
m_drag_start_rect = outerRectForWindow(window.rect());
|
||||
window.set_is_being_dragged(true);
|
||||
invalidate(window);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user