Mercurial > hg > tony
changeset 641:327177b6bd3a v2.1pre2
Fix recently-introduced bug that made the scale disappear and tracks jump around when toggling off the spectrogram
author | Chris Cannam |
---|---|
date | Thu, 17 Oct 2019 14:44:55 +0100 |
parents | 606bdcc3856a |
children | c874c4370452 |
files | main/Analyser.cpp repoint-lock.json |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/main/Analyser.cpp Thu Oct 17 13:54:26 2019 +0100 +++ b/main/Analyser.cpp Thu Oct 17 14:44:55 2019 +0100 @@ -912,8 +912,8 @@ return; } - flexiNoteLayer->snapToFeatureFrame(m_pane, f0i, res, Layer::SnapLeft); - flexiNoteLayer->snapToFeatureFrame(m_pane, f1i, res, Layer::SnapRight); + flexiNoteLayer->snapToFeatureFrame(m_pane, f0i, res, Layer::SnapLeft, -1); + flexiNoteLayer->snapToFeatureFrame(m_pane, f1i, res, Layer::SnapRight, -1); f0 = (f0i < 0 ? 0 : f0i); f1 = (f1i < 0 ? 0 : f1i);