mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Merge: Bug928, and probably Bug925, when trying to scrub left of time zero
This commit is contained in:
commit
e14144b01f
@ -2407,7 +2407,10 @@ bool TrackPanel::ContinueScrubbing(wxCoord position, bool maySkip)
|
|||||||
{
|
{
|
||||||
wxCoord leadPosition = position;
|
wxCoord leadPosition = position;
|
||||||
double newEnd =
|
double newEnd =
|
||||||
std::min(PositionToTime(leadPosition, GetLeftOffset()), mTracks->GetEndTime());
|
std::max(0.0,
|
||||||
|
std::min(PositionToTime(leadPosition, GetLeftOffset()),
|
||||||
|
mTracks->GetEndTime()
|
||||||
|
));
|
||||||
|
|
||||||
if (maySkip)
|
if (maySkip)
|
||||||
// Cause OnTimer() to suppress the speed display
|
// Cause OnTimer() to suppress the speed display
|
||||||
|
Loading…
x
Reference in New Issue
Block a user