1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

Profiler: Fix timeline wrong initial horizontal position

Just after launching the app, when hovering the timeline, it would
start at Time: 2000ms. It fixes itself after scrolling.
This commit is contained in:
Carlos César Neves Enumo 2021-05-08 03:20:00 -03:00 committed by Andreas Kling
parent 295cc123c7
commit 99f141522a

View file

@ -18,6 +18,8 @@ TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView
add_child(timeline_view);
header_container.move_to_back();
timeline_view.move_to_back();
update_widget_sizes();
update_widget_positions();
}
TimelineContainer::~TimelineContainer()