Mercurial > hg > sonic-visualiser
diff main/OSCHandler.cpp @ 497:e583f57f1311
Give a dedicated key to toggling the centre line, and move it out of the overlay level setting -- reducing number of overlay levels to 3. Introduce two distinct vertical scale types (so that we can hide the spectrogram colour scale part easily)
author | Chris Cannam |
---|---|
date | Mon, 30 Jan 2012 16:01:21 +0000 |
parents | 868f73825b37 |
children | ba338234c001 17fe7e0c23a1 |
line wrap: on
line diff
--- a/main/OSCHandler.cpp Thu Jan 26 14:58:18 2012 +0000 +++ b/main/OSCHandler.cpp Mon Jan 30 16:01:21 2012 +0000 @@ -350,8 +350,6 @@ m_viewManager->setOverlayMode(ViewManager::NoOverlays); } else if (value < 1.5) { m_viewManager->setOverlayMode(ViewManager::MinimalOverlays); - } else if (value < 2.5) { - m_viewManager->setOverlayMode(ViewManager::StandardOverlays); } else { m_viewManager->setOverlayMode(ViewManager::AllOverlays); }