mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 04:02:52 +00:00
LibGfx: Unpublish FloatRect from the global namespace
This commit is contained in:
parent
418adf3e86
commit
8505d8d15d
Notes:
sideshowbarker
2024-07-19 09:34:25 +09:00
Author: https://github.com/awesomekling
Commit: 8505d8d15d
8 changed files with 18 additions and 20 deletions
|
@ -388,7 +388,7 @@ void HtmlView::scroll_to_anchor(const StringView& name)
|
|||
return;
|
||||
}
|
||||
auto& layout_node = *element->layout_node();
|
||||
FloatRect float_rect { layout_node.box_type_agnostic_position(), { (float)visible_content_rect().width(), (float)visible_content_rect().height() } };
|
||||
Gfx::FloatRect float_rect { layout_node.box_type_agnostic_position(), { (float)visible_content_rect().width(), (float)visible_content_rect().height() } };
|
||||
scroll_into_view(enclosing_int_rect(float_rect), true, true);
|
||||
window()->set_override_cursor(GUI::StandardCursor::None);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue