mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +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:
parent
295cc123c7
commit
99f141522a
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView
|
||||||
add_child(timeline_view);
|
add_child(timeline_view);
|
||||||
header_container.move_to_back();
|
header_container.move_to_back();
|
||||||
timeline_view.move_to_back();
|
timeline_view.move_to_back();
|
||||||
|
update_widget_sizes();
|
||||||
|
update_widget_positions();
|
||||||
}
|
}
|
||||||
|
|
||||||
TimelineContainer::~TimelineContainer()
|
TimelineContainer::~TimelineContainer()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue