1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:28:13 +00:00

Profiler: Allow scaling the timeline with Ctrl+MouseWheel :^)

This commit is contained in:
Andreas Kling 2021-05-22 23:20:31 +02:00
parent 3dfc3e362b
commit 62819df713
5 changed files with 33 additions and 1 deletions

View file

@ -20,6 +20,11 @@ TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView
timeline_view.move_to_back();
update_widget_sizes();
update_widget_positions();
m_timeline_view->on_scale_change = [this] {
update_widget_positions();
update_widget_sizes();
};
}
TimelineContainer::~TimelineContainer()