Add comment to MRV snap workaround.
authornick_m <mainsbridge@gmail.com>
Sat, 31 Oct 2015 14:43:13 +0000 (01:43 +1100)
committernick_m <mainsbridge@gmail.com>
Sat, 31 Oct 2015 14:43:13 +0000 (01:43 +1100)
gtk2_ardour/midi_region_view.cc

index 1a98df5b9ddccffddfbc715abe630e972d234437..487a0c30797d64cd34e9f42a4f2e7aec6b5c1eef 100644 (file)
@@ -2844,6 +2844,7 @@ MidiRegionView::commit_resizing (NoteBase* primary, bool at_front, double delta_
 {
        _note_diff_command = _model->new_note_diff_command (_("resize notes"));
 
+       /* XX why doesn't snap_pixel_to_sample() handle this properly? */
        bool const ensure_snap = trackview.editor().snap_mode () != SnapMagnetic;
 
        for (std::vector<NoteResizeData *>::iterator i = _resize_data.begin(); i != _resize_data.end(); ++i) {