# HG changeset patch # User gyorgyf # Date 1366186505 -3600 # Node ID 03d5f370c9a024c955288ef4b8031a1bed72d002 # Parent 764a9452a71a96e0b87679ac2d5921bb762b1b80 larger notes plus basic editing functions are now enabled by temporary star icon in toolbar diff -r 764a9452a71a -r 03d5f370c9a0 layer/FlexiNoteLayer.cpp --- 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);