Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 1007:7347cf34f538 tony-2.0-integration
Minor adjustment for higher-res screens
author | Chris Cannam |
---|---|
date | Tue, 20 Oct 2015 12:53:32 +0100 |
parents | 89f44d182d37 |
children | 2f8340c22e8a |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Wed Oct 14 14:52:21 2015 +0100 +++ b/layer/SpectrogramLayer.cpp Tue Oct 20 12:53:32 2015 +0100 @@ -1887,7 +1887,7 @@ } else { RealTime lastTime = m_lastPaintTime; while (lastTime > RealTime::fromMilliseconds(200) && - paintBlockWidth > 50) { + paintBlockWidth > 100) { paintBlockWidth /= 2; lastTime = lastTime / 2; } @@ -1898,7 +1898,7 @@ } } - if (paintBlockWidth < 20) paintBlockWidth = 20; + if (paintBlockWidth < 50) paintBlockWidth = 50; } #ifdef DEBUG_SPECTROGRAM_REPAINT