Skip to content

Commit

Permalink
Profiler: Fix timeline wrong initial horizontal position
Browse files Browse the repository at this point in the history
Just after launching the app, when hovering the timeline, it would
start at Time: 2000ms. It fixes itself after scrolling.
  • Loading branch information
pakerwreah authored and awesomekling committed May 8, 2021
1 parent 295cc12 commit 99f1415
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Userland/DevTools/Profiler/TimelineContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 99f1415

Please sign in to comment.