mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01:00
Correcting the layout of EQ freq ruler (borders, off-by-ones).
Avoid an unnecessary alert in Envelope.
This commit is contained in:
@@ -952,7 +952,7 @@ int Envelope::Insert(double when, double value)
|
||||
{
|
||||
#if defined(__WXDEBUG__)
|
||||
// in debug builds, do a spot of argument checking
|
||||
if(when > mTrackLen)
|
||||
if(when > mTrackLen + 0.0000001)
|
||||
{
|
||||
wxString msg;
|
||||
msg = wxString::Format(wxT("when %.20f mTrackLen %.20f diff %.20f"), when, mTrackLen, when-mTrackLen);
|
||||
|
||||
Reference in New Issue
Block a user