improve scroomer performance.

- MRV will redisplay the model on scroom, so there is no need
	  to update the range as well.
This commit is contained in:
nick_m 2016-12-21 23:43:05 +11:00
parent 63e89b2090
commit b330a8a0ce

View file

@ -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()