Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 2011:b184e71f880d zoom
ZoomLevel fixes
author | Chris Cannam |
---|---|
date | Thu, 20 Sep 2018 11:45:55 +0100 |
parents | 5d3ef2c450cc |
children | 262c656ec78f |
line wrap: on
line diff
--- a/main/MainWindow.cpp Thu Sep 20 10:46:01 2018 +0100 +++ b/main/MainWindow.cpp Thu Sep 20 11:45:55 2018 +0100 @@ -3866,7 +3866,7 @@ if (configuration.layer == LayerFactory::Spectrum) { pane->setPlaybackFollow(PlaybackScrollContinuous); pane->setFollowGlobalZoom(false); - pane->setZoomLevel(512); + pane->setZoomLevel(ZoomLevel(ZoomLevel::FramesPerPixel, 512)); } if (configuration.layer != LayerFactory::TimeRuler &&