Skip to content

Commit

Permalink
Fix bug with hard splitting when the left clip has start offset
Browse files Browse the repository at this point in the history
  • Loading branch information
regulus79 committed Feb 16, 2025
1 parent 0d765d5 commit eadd040
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/clips/MidiClipView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,7 @@ bool MidiClipView::destructiveSplitClip(const TimePos pos)
leftClip->movePosition(m_initialClipPos);
leftClip->setHasBeenResized(true);
leftClip->changeLength(splitPos - m_initialClipPos);
leftClip->setStartTimeOffset(m_clip->startTimeOffset());

rightClip->movePosition(splitPos);
rightClip->setHasBeenResized(true);
Expand Down

0 comments on commit eadd040

Please sign in to comment.