diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-13 11:02:06 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-03-13 11:02:06 -0400 |
commit | f48b5568883468e70a751ec1aa934e5a55bb7705 (patch) | |
tree | 36c2f7082f628007dc53fadc5bb1920d29d4ab99 /gtk2_ardour/note.cc | |
parent | c04081681cbfd33b66947e63388bbcd737441887 (diff) |
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
Diffstat (limited to 'gtk2_ardour/note.cc')
-rw-r--r-- | gtk2_ardour/note.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc index 02475f859c..3adcd751f8 100644 --- a/gtk2_ardour/note.cc +++ b/gtk2_ardour/note.cc @@ -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 |