mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
Invalidate the window when starting to drag it.
This ensures that the drag color shows up immediately.
This commit is contained in:
parent
4bffdd2394
commit
102a5add16
Notes:
sideshowbarker
2024-07-19 16:00:17 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/102a5add164
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue