1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 15:16:27 +01:00

Sync lock adjustment for NoteTrack stretch...

... It applies only at button-up, not in a previewing fashion during the drag.

Realizing that preview is more work than I want to do right now.
This commit is contained in:
Paul Licameli
2017-05-12 17:41:57 -04:00
parent 54636c65fa
commit 646c66f78f
2 changed files with 34 additions and 1 deletions

View File

@@ -331,6 +331,8 @@ class AUDACITY_DLL_API TrackPanel final : public OverlayPanel {
using QuantizedTimeAndBeat = std::pair< double, double >;
bool mStretching {}; // true between mouse down and mouse up
double mOrigT0 {};
double mOrigT1 {};
QuantizedTimeAndBeat mBeatCenter { 0, 0 };
QuantizedTimeAndBeat mBeat0 { 0, 0 };
QuantizedTimeAndBeat mBeat1 { 0, 0 };