changeset 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 2e3d388489e5
children 2f8340c22e8a
files layer/SpectrogramLayer.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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