mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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:
parent
99f141522a
commit
325d9445fd
Notes:
sideshowbarker
2024-07-18 18:33:32 +09:00
Author: https://github.com/pakerwreah
Commit: 325d9445fd
Pull-request: https://github.com/SerenityOS/serenity/pull/6940
5 changed files with 76 additions and 57 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue