From b330a8a0cecb65480b8d3a1efa989caf77e543ad Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 21 Dec 2016 23:43:05 +1100 Subject: improve scroomer performance. - MRV will redisplay the model on scroom, so there is no need to update the range as well. --- gtk2_ardour/ghostregion.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'gtk2_ardour/ghostregion.cc') diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index 21b8cd6fba..ebf6a2870a 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -186,7 +186,6 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv, base_rect->lower_to_bottom(); update_range (); - midi_view()->NoteRangeChanged.connect (sigc::mem_fun (*this, &MidiGhostRegion::update_range)); } /** @@ -210,7 +209,6 @@ MidiGhostRegion::MidiGhostRegion(RegionView& rv, base_rect->lower_to_bottom(); update_range (); - midi_view()->NoteRangeChanged.connect (sigc::mem_fun (*this, &MidiGhostRegion::update_range)); } MidiGhostRegion::~MidiGhostRegion() -- cgit v1.2.3