diff options
author | nick_m <mainsbridge@gmail.com> | 2016-12-21 23:43:05 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-12-21 23:43:05 +1100 |
commit | b330a8a0cecb65480b8d3a1efa989caf77e543ad (patch) | |
tree | 9200bfc62a5b0bd17341e1d569e695d758e43424 /gtk2_ardour | |
parent | 63e89b2090a1c2bb852d42f1235da661321f1bc4 (diff) |
improve scroomer performance.
- MRV will redisplay the model on scroom, so there is no need
to update the range as well.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ghostregion.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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() |