Profiler: Fix scrolling behavior

When resizing the timeline view the timelines should scroll to the
bottom when the resize operation reveals space that is beyond the
view.
This commit is contained in:
Gunnar Beutner 2021-05-08 03:01:23 +02:00 committed by Andreas Kling
commit eed6ce8b8b
Notes: sideshowbarker 2024-07-18 18:33:21 +09:00
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@ void ScrollableContainerWidget::update_widget_size()
void ScrollableContainerWidget::resize_event(GUI::ResizeEvent& event)
{
AbstractScrollableWidget::resize_event(event);
update_widget_position();
update_widget_size();
}