actually implement ::reposition_and_zoom() for midi cue editor
This commit is contained in:
@@ -168,8 +168,13 @@ CueEditor::get_current_zoom () const
|
||||
}
|
||||
|
||||
void
|
||||
CueEditor::reposition_and_zoom (samplepos_t, double)
|
||||
CueEditor::reposition_and_zoom (samplepos_t pos, double spp)
|
||||
{
|
||||
set_samples_per_pixel (spp);
|
||||
|
||||
horizontal_adjustment.set_value (sample_to_pixel (pos));
|
||||
/* correct rounding errors */
|
||||
_leftmost_sample = pos;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user