audio clip editor: use scroll group for waves container

This commit is contained in:
Paul Davis 2021-12-10 15:15:16 -07:00
parent 82f2392d85
commit ef07d47bf8
2 changed files with 8 additions and 3 deletions

View file

@ -71,7 +71,7 @@ AudioClipEditor::AudioClipEditor ()
frame->set_fill (false);
frame->Event.connect (sigc::mem_fun (*this, &AudioClipEditor::event_handler));
waves_container = new ArdourCanvas::Container (frame);
waves_container = new ArdourCanvas::ScrollGroup (frame, ScrollGroup::ScrollsHorizontally);
line_container = new ArdourCanvas::Container (frame);
const double line_width = 3.;