mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +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,
|
||||
zoomMin, zoomMax);
|
||||
|
||||
mEnvelope.SetDragPoint(mEnvelope.InsertOrReplaceRelative(when - mEnvelope.GetOffset(), newVal));
|
||||
mEnvelope.SetDragPoint(mEnvelope.InsertOrReplaceRelative(when, newVal));
|
||||
mDirty = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user