comparison view/Pane.cpp @ 1391:c39f2d439d59 spectrogramparam

Toward highlighting peaks on spectrum
author Chris Cannam
date Tue, 13 Nov 2018 15:16:48 +0000
parents 3c99083a4d83
children 9ea551137329
comparison
equal deleted inserted replaced
1390:3c99083a4d83 1391:c39f2d439d59
298 return false; 298 return false;
299 } 299 }
300 300
301 bool 301 bool
302 Pane::shouldIlluminateLocalSelection(QPoint &pos, 302 Pane::shouldIlluminateLocalSelection(QPoint &pos,
303 bool &closeToLeft, 303 bool &closeToLeft,
304 bool &closeToRight) const 304 bool &closeToRight) const
305 { 305 {
306 if (m_identifyFeatures && 306 if (m_identifyFeatures &&
307 m_manager && 307 m_manager &&
308 m_manager->getToolModeFor(this) == ViewManager::EditMode && 308 m_manager->getToolModeFor(this) == ViewManager::EditMode &&
309 !m_manager->getSelections().empty() && 309 !m_manager->getSelections().empty() &&