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:
parent
a4482aa3af
commit
79e9f2b5dd
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user