mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-31 19:44:54 +02:00
Bug2314: Zoom in should work during playback...
...bug began at 52ff705b0d
Fixing this in a way that does not make a dependency cycle between ProjectWindow
and TrackPanel
This commit is contained in:
@@ -401,6 +401,8 @@ unsigned operator()
|
||||
double ZoomFactor = pow(2.0, steps);
|
||||
AudacityProject *p = GetProject();
|
||||
if( steps > 0 )
|
||||
// PRL: Track panel refresh may be needed if you reenable this
|
||||
// code, but we don't want this file dependent on TrackPanel.cpp
|
||||
p->ZoomInByFactor( ZoomFactor );
|
||||
else
|
||||
p->ZoomOutByFactor( ZoomFactor );
|
||||
|
||||
Reference in New Issue
Block a user