1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 15:53:52 +02:00

Bug 1516 - Clips: Can't drag vertically if starting position of clip overlaps clip in target track

This commit is contained in:
James Crook
2017-08-19 17:53:50 +01:00
parent f3dcccb144
commit 4d43d2273b
3 changed files with 5 additions and 4 deletions

View File

@@ -491,7 +491,7 @@ class AUDACITY_DLL_API WaveTrack final : public PlayableTrack {
// Before moving a clip into a track (or inserting a clip), use this
// function to see if the times are valid (i.e. don't overlap with
// existing clips).
bool CanInsertClip(WaveClip* clip);
bool CanInsertClip(WaveClip* clip, double slideBy=0.0);
// Remove the clip from the track and return a SMART pointer to it.
// You assume responsibility for its memory!