summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ghostregion.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-12-21 23:43:05 +1100
committernick_m <mainsbridge@gmail.com>2016-12-21 23:43:05 +1100
commitb330a8a0cecb65480b8d3a1efa989caf77e543ad (patch)
tree9200bfc62a5b0bd17341e1d569e695d758e43424 /gtk2_ardour/ghostregion.cc
parent63e89b2090a1c2bb852d42f1235da661321f1bc4 (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/ghostregion.cc')
-rw-r--r--gtk2_ardour/ghostregion.cc2
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()