1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 09:00:52 +02:00

Scrolling left of zero will work right with fisheye present.

This commit is contained in:
Paul Licameli 2015-06-11 13:34:23 -04:00
parent a4482aa3af
commit 79e9f2b5dd

View File

@ -1456,8 +1456,10 @@ wxInt64 AudacityProject::PixelWidthBeforeTime(double scrollto) const
const double lowerBound = ScrollingLowerBoundTime();
return
mViewInfo.TimeToPosition(scrollto, 0
, true
) -
mViewInfo.TimeToPosition(lowerBound, 0
, true
);
}