1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-02 06:08:44 +01:00

Different procedure, same results, to find corresponding tracks...

... for shifting of clips among tracks

But this (temporarily) breaks the behavior of dragging back to the original
clip without first releasing the mouse
This commit is contained in:
Paul Licameli
2020-09-16 08:10:13 -04:00
parent d3ab8b7f76
commit 633b2e28bc
3 changed files with 97 additions and 65 deletions

View File

@@ -1344,6 +1344,11 @@ public:
bool SyncLocks() override { return true; }
bool MayMigrateTo(Track &other) override
{
return TrackShifter::CommonMayMigrateTo(other);
}
double HintOffsetLarger(double desiredOffset) override
{
// set it to a sample point, and minimum of 1 sample point