do not use Item::move() when dragging notes since this resets the Item's position in its group, rather than its coordinates.

This fixes the double-distance/wrongly drawn location of MIDI notes after a drag
This commit is contained in:
Paul Davis 2014-03-13 11:02:06 -04:00
parent c04081681c
commit f48b556888
2 changed files with 7 additions and 2 deletions

View file

@ -47,7 +47,7 @@ Note::~Note ()
void
Note::move_event (double dx, double dy)
{
_rectangle->move (Duple (dx, dy));
_rectangle->set (_rectangle->get().translate (Duple (dx, dy)));
}
Coord