mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-08 08:27:43 +02:00
Interim fixes for envelopes
This commit is contained in:
parent
f859bf62c7
commit
ebd1de4ffc
@ -499,7 +499,7 @@ bool EnvelopeEditor::HandleMouseButtonDown(const wxMouseEvent & event, wxRect &
|
|||||||
double newVal = ValueOfPixel(clip_y, r.height, upper, dB, dBRange,
|
double newVal = ValueOfPixel(clip_y, r.height, upper, dB, dBRange,
|
||||||
zoomMin, zoomMax);
|
zoomMin, zoomMax);
|
||||||
|
|
||||||
mEnvelope.SetDragPoint(mEnvelope.InsertOrReplaceRelative(when - mEnvelope.GetOffset(), newVal));
|
mEnvelope.SetDragPoint(mEnvelope.InsertOrReplaceRelative(when, newVal));
|
||||||
mDirty = true;
|
mDirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user