# HG changeset patch # User Chris Cannam # Date 1445342012 -3600 # Node ID 7347cf34f538d81eb45cd0ca783a96018c6d74d4 # Parent 2e3d388489e5d881bb96c9ae038915ea8bf05d09 Minor adjustment for higher-res screens diff -r 2e3d388489e5 -r 7347cf34f538 layer/SpectrogramLayer.cpp --- 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