mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor.
This commit is contained in:
parent
94e0a15325
commit
93c24e4433
20 changed files with 59 additions and 50 deletions
|
|
@ -1635,12 +1635,12 @@ MidiTimeAxisView::capture_channel_mode_changed ()
|
|||
}
|
||||
|
||||
bool
|
||||
MidiTimeAxisView::paste (framepos_t pos, const Selection& selection, PasteContext& ctx)
|
||||
MidiTimeAxisView::paste (framepos_t pos, const Selection& selection, PasteContext& ctx, const int32_t& sub_num)
|
||||
{
|
||||
if (!_editor.internal_editing()) {
|
||||
// Non-internal paste, paste regions like any other route
|
||||
return RouteTimeAxisView::paste(pos, selection, ctx);
|
||||
return RouteTimeAxisView::paste(pos, selection, ctx, sub_num);
|
||||
}
|
||||
|
||||
return midi_view()->paste(pos, selection, ctx);
|
||||
return midi_view()->paste(pos, selection, ctx, sub_num);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue