From d02d8e6ebc28c9f4ed3a8358c27a33a1e0a388c9 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 18 May 2015 16:12:32 -0500 Subject: [PATCH] temporarily remove buggy MouseRange-on-Piano-Roll event handlers --- gtk2_ardour/piano_roll_header.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/piano_roll_header.cc b/gtk2_ardour/piano_roll_header.cc index 8a67ec7501..54cc802601 100644 --- a/gtk2_ardour/piano_roll_header.cc +++ b/gtk2_ardour/piano_roll_header.cc @@ -467,7 +467,7 @@ PianoRollHeader::on_motion_notify_event (GdkEventMotion* ev) int note = _view.y_to_note(ev->y); - if (editor().current_mouse_mode() == Editing::MouseRange) { + if ( false /*editor().current_mouse_mode() == Editing::MouseRange*/ ) { //ToDo: fix this. this mode is buggy, and of questionable utility anyway /* select note range */ @@ -544,7 +544,7 @@ PianoRollHeader::on_button_release_event (GdkEventButton* ev) { int note = _view.y_to_note(ev->y); - if (editor().current_mouse_mode() == Editing::MouseRange) { + if (false /*editor().current_mouse_mode() == Editing::MouseRange*/ ) { //Todo: this mode is buggy, and of questionable utility anyway if (Keyboard::no_modifiers_active (ev->state)) { AddNoteSelection (note); // EMIT SIGNAL