mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
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:
parent
c04081681c
commit
f48b556888
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue