mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 06:18:59 +00:00
parent
3c5da01f94
commit
a19d8aade4
Notes:
sideshowbarker
2024-07-19 01:47:18 +09:00
Author: https://github.com/tomuta
Commit: a19d8aade4
Pull-request: https://github.com/SerenityOS/serenity/pull/3827
Issue: https://github.com/SerenityOS/serenity/issues/3825
1 changed files with 1 additions and 2 deletions
|
@ -239,8 +239,7 @@ void AbstractTableView::move_cursor_relative(int vertical_steps, int horizontal_
|
|||
|
||||
void AbstractTableView::scroll_into_view(const ModelIndex& index, bool scroll_horizontally, bool scroll_vertically)
|
||||
{
|
||||
auto rect = row_rect(index.row()).translated(0, -m_column_header->height());
|
||||
ScrollableWidget::scroll_into_view(rect, scroll_horizontally, scroll_vertically);
|
||||
ScrollableWidget::scroll_into_view(content_rect(index), scroll_horizontally, scroll_vertically);
|
||||
}
|
||||
|
||||
void AbstractTableView::doubleclick_event(MouseEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue