implement copy-drag for MIDI notes.

Probably some corner cases to be fixed, but pretty functional and largely modelled
on existing code (paste, drag, step add note etc.)
This commit is contained in:
Paul Davis 2017-01-23 21:57:38 +01:00
parent 4a03572cd9
commit 8dedea5ffa
4 changed files with 196 additions and 53 deletions

View file

@ -567,6 +567,7 @@ class NoteDrag : public Drag
double _cumulative_dy;
bool _was_selected;
double _note_height;
bool _copy;
};
class NoteCreateDrag : public Drag