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:
parent
3dfc3e362b
commit
62819df713
5 changed files with 33 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue