Mercurial > hg > svgui
diff layer/FlexiNoteLayer.cpp @ 633:03d5f370c9a0 tonioni
larger notes plus basic editing functions are now enabled by temporary star icon in toolbar
author | gyorgyf |
---|---|
date | Wed, 17 Apr 2013 09:15:05 +0100 |
parents | 764a9452a71a |
children | 4fa3951bbb05 |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp Sat Apr 13 20:03:40 2013 +0100 +++ b/layer/FlexiNoteLayer.cpp Wed Apr 17 09:15:05 2013 +0100 @@ -761,11 +761,11 @@ int x = v->getXForFrame(p.frame); int y = getYForValue(v, p.value); int w = v->getXForFrame(p.frame + p.duration) - x; - int h = 3; + int h = 8; //GF: larger notes if (m_model->getValueQuantization() != 0.0) { h = y - getYForValue(v, p.value + m_model->getValueQuantization()); - if (h < 3) h = 3; + if (h < 3) h = 8; //GF: larger notes } if (w < 1) w = 1; @@ -987,6 +987,7 @@ bool FlexiNoteLayer::editOpen(View *v, QMouseEvent *e) { + std::cerr << "Opening note editor dialog" << std::endl; if (!m_model) return false; FlexiNoteModel::Point note(0);