Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 2031:4db75d584e5a
Merge from branch zoom
author | Chris Cannam |
---|---|
date | Wed, 10 Oct 2018 08:58:20 +0100 |
parents | c669b40a8d56 262c656ec78f |
children | 8529a60df1b4 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Wed Oct 03 15:46:18 2018 +0100 +++ b/main/MainWindow.cpp Wed Oct 10 08:58:20 2018 +0100 @@ -3867,7 +3867,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 &&