diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-19 22:01:10 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-19 22:01:10 +0000 |
commit | 611c33e6807b028a6a521017188d704445ba1d06 (patch) | |
tree | bb150f67b671fbc8905dc9e31f2b42892696329e /gtk2_ardour/midi_region_view.h | |
parent | 7b6b75f38ff6b34de3f70e36045498f227c1727d (diff) |
Snap to note start rather than mouse pointer when dragging MIDI notes. Fixes #3187.
git-svn-id: svn://localhost/ardour2/branches/3.0@7654 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 75ee5f13d8..9523937565 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -200,7 +200,7 @@ class MidiRegionView : public RegionView size_t selection_size() { return _selection.size(); } void move_selection(double dx, double dy); - void note_dropped(ArdourCanvas::CanvasNoteEvent* ev, double d_pixels, int8_t d_note); + void note_dropped (ArdourCanvas::CanvasNoteEvent* ev, ARDOUR::frameoffset_t, int8_t d_note); void select_matching_notes (uint8_t notenum, uint16_t channel_mask, bool add, bool extend); void toggle_matching_notes (uint8_t notenum, uint16_t channel_mask); |