From f48b5568883468e70a751ec1aa934e5a55bb7705 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 13 Mar 2014 11:02:06 -0400 Subject: 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 --- gtk2_ardour/note.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/note.cc') 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 -- cgit v1.2.3