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

Profiler: Migrate mouse events to TimelineView

This change allows for continuous mouse events when hovering the
layout spaces between tracks.
This commit is contained in:
Carlos César Neves Enumo 2021-05-08 03:27:13 -03:00 committed by Andreas Kling
parent 99f141522a
commit 325d9445fd
5 changed files with 76 additions and 57 deletions

View file

@ -96,7 +96,7 @@ int main(int argc, char** argv)
timeline_header_container->set_fill_with_background_color(true);
timeline_header_container->set_shrink_to_fit(true);
auto timeline_view = TimelineView::construct();
auto timeline_view = TimelineView::construct(*profile);
for (auto& process : profile->processes()) {
bool matching_event_found = false;
for (auto& event : profile->events()) {