1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-08 06:03:49 +01:00

Bug1197, yet again: extreme zoom-in behavior, now Mac specific: ...

...fix differing results on Mac by calculating only in double, so that selection
remains centered at extreme zoom-in for long projects (about 20 min.) and
selection after about 15 min.
This commit is contained in:
Paul Licameli
2016-01-28 10:36:48 -05:00
parent 4e335af91f
commit f47cb3d528
4 changed files with 25 additions and 13 deletions

View File

@@ -384,7 +384,8 @@ class AUDACITY_DLL_API AudacityProject: public wxFrame,
double ScrollingLowerBoundTime() const;
// How many pixels are covered by the period from lowermost scrollable time, to the given time:
wxInt64 PixelWidthBeforeTime(double scrollto) const;
// PRL: Bug1197: we seem to need to compute all in double, to avoid differing results on Mac
double PixelWidthBeforeTime(double scrollto) const;
void SetHorizontalThumb(double scrollto);
// TrackPanel access