1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

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
parent 9cec9fb1e8
commit eed6ce8b8b
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();
}