Mercurial > hg > svgui
diff layer/NoteLayer.cpp @ 1426:e1a08da75427 single-point
Update following FlexiNoteModel removal, using new NoteModel API where flexi was previously used
author | Chris Cannam |
---|---|
date | Thu, 14 Mar 2019 15:32:58 +0000 |
parents | f9e3126d223c |
children | f792a5001d80 |
line wrap: on
line diff
--- a/layer/NoteLayer.cpp Thu Mar 14 13:12:25 2019 +0000 +++ b/layer/NoteLayer.cpp Thu Mar 14 15:32:58 2019 +0000 @@ -1108,14 +1108,10 @@ EventVector points = m_model->getEventsStartingWithin(s.getStartFrame(), s.getDuration()); - SVCERR << "Have " << points.size() << " points to drag" << endl; - for (Event p: points) { - SVCERR << "asking to remove " << p.toXmlString() << endl; command->remove(p); Event moved = p.withFrame(p.getFrame() + newStartFrame - s.getStartFrame()); - SVCERR << "asking to add " << moved.toXmlString() << endl; command->add(moved); }