mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibGfx: Unpublish Gfx::Size from the global namespace
This commit is contained in:
parent
9b87843af1
commit
f8b00aa290
Notes:
sideshowbarker
2024-07-19 09:35:00 +09:00
Author: https://github.com/awesomekling
Commit: f8b00aa290
29 changed files with 41 additions and 43 deletions
|
@ -354,7 +354,7 @@ void VBForm::mousemove_event(GUI::MouseEvent& event)
|
|||
if (widget.is_in_layout())
|
||||
return;
|
||||
auto new_rect = widget.transform_origin_rect();
|
||||
Size minimum_size { 5, 5 };
|
||||
Gfx::Size minimum_size { 5, 5 };
|
||||
new_rect.set_x(new_rect.x() + change_x);
|
||||
new_rect.set_y(new_rect.y() + change_y);
|
||||
new_rect.set_width(max(minimum_size.width(), new_rect.width() + change_w));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue