summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-12-23 00:51:34 +1100
committernick_m <mainsbridge@gmail.com>2016-12-23 00:51:34 +1100
commit96048ad4c09aca166dcccce9abe91da209a09b93 (patch)
tree104a5187eba11481301ffe382be3e0f93c5f5209 /gtk2_ardour/midi_time_axis.cc
parentebf60feb130569e97ef12d1cb592eb2365a5909a (diff)
midi scrooming performance updates.
- MGR visibility is handled by update_note/hit() MRV unconditionally updates MGR events - remove MidiGhostRegion::update_range() - rename set_contents_height -> update_contents_height
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r--gtk2_ardour/midi_time_axis.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index 1679039990..6bbc813eb2 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -1239,13 +1239,6 @@ MidiTimeAxisView::set_note_range (MidiStreamView::VisibleNoteRange range, bool a
void
MidiTimeAxisView::update_range()
{
- MidiGhostRegion* mgr;
-
- for (list<GhostRegion*>::iterator i = ghosts.begin(); i != ghosts.end(); ++i) {
- if ((mgr = dynamic_cast<MidiGhostRegion*>(*i)) != 0) {
- mgr->update_range();
- }
- }
}
void