# HG changeset patch # User Chris Cannam # Date 1454427279 0 # Node ID 6d4fa45a271d71858d8f2347bdb250afb8b177f8 # Parent 6f7a471826d1e4beb5deaaded6ebcda54eef73f0 Comment diff -r 6f7a471826d1 -r 6d4fa45a271d layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Tue Feb 02 15:32:57 2016 +0000 +++ b/layer/SpectrogramLayer.cpp Tue Feb 02 15:34:39 2016 +0000 @@ -1736,6 +1736,10 @@ if (!m_synchronous) { // When rendering the whole thing, start from somewhere near // the middle so that the region of interest appears first + + //!!! (perhaps we should have some cunning test to avoid + //!!! doing this if past repaints have appeared fast + //!!! enough to do the whole width in one shot) if (x0 == 0 && x1 == v->getPaintWidth()) { x0 = int(x1 * 0.3); }