mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 14:02:57 +02:00
Defined EXPERIMENTAL_SCROLLING LIMITS
When it is enabled, the project can scroll up to one-half of a screenful beyond time zero or the maximum track time. I was careful to disable selection of negative times. This is motivated by the smooth scrolling scrub. It behaves more sensibly at the extremes. It can still keep the play indicator centered. Also removed an unused member of ViewInfo.
This commit is contained in:
@@ -86,7 +86,6 @@ bool AudacityPrintout::OnPrintPage(int WXUNUSED(page))
|
||||
viewInfo.h = 0.0;
|
||||
viewInfo.screen = mTracks->GetEndTime() - viewInfo.h;
|
||||
viewInfo.total = viewInfo.screen;
|
||||
viewInfo.zoom = viewInfo.lastZoom = width / viewInfo.screen;
|
||||
int y = rulerPageHeight;
|
||||
|
||||
TrackListIterator iter(mTracks);
|
||||
|
Reference in New Issue
Block a user