mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-05 04:06:08 +00:00
LibGfx: Unpublish Gfx::Point from global namespace
This commit is contained in:
@@ -545,7 +545,7 @@ Gfx::Rect AbstractTableView::row_rect(int item_index) const
|
||||
return { 0, header_height() + (item_index * item_height()), max(content_size().width(), width()), item_height() };
|
||||
}
|
||||
|
||||
Point AbstractTableView::adjusted_position(const Gfx::Point& position) const
|
||||
Gfx::Point AbstractTableView::adjusted_position(const Gfx::Point& position) const
|
||||
{
|
||||
return position.translated(horizontal_scrollbar().value() - frame_thickness(), vertical_scrollbar().value() - frame_thickness());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user