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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user