diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-08 12:52:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-08 12:52:04 +0000 |
commit | d73815ccf21239b982383d1cf7bacd8f7793d097 (patch) | |
tree | 8eb72656270d50da136bd235addd0c8c4c4f8539 /gtk2_ardour | |
parent | 53cb1b6572f1690d3eaf688880d85e743b42d4cd (diff) |
range mode should not allow trim of MIDI notes
git-svn-id: svn://localhost/ardour2/branches/3.0@11471 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_mouse.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc index f52f05274a..16f87d920d 100644 --- a/gtk2_ardour/editor_mouse.cc +++ b/gtk2_ardour/editor_mouse.cc @@ -819,16 +819,6 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT } break; - case NoteItem: - if (internal_editing()) { - /* trim notes if we're in internal edit mode and near the ends of the note */ - ArdourCanvas::CanvasNote* cn = dynamic_cast<ArdourCanvas::CanvasNote*> (item); - if (cn && cn->big_enough_to_trim() && cn->mouse_near_ends()) { - _drags->set (new NoteResizeDrag (this, item), event, current_canvas_cursor); - } - } - return true; - case StreamItem: if (internal_editing()) { if (dynamic_cast<MidiTimeAxisView*> (clicked_axisview)) { |