13
0

temporarily remove buggy MouseRange-on-Piano-Roll event handlers

This commit is contained in:
Ben Loftis 2015-05-18 16:12:32 -05:00
parent 03248249c8
commit d02d8e6ebc

View File

@ -467,7 +467,7 @@ PianoRollHeader::on_motion_notify_event (GdkEventMotion* ev)
int note = _view.y_to_note(ev->y); 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 */ /* select note range */
@ -544,7 +544,7 @@ PianoRollHeader::on_button_release_event (GdkEventButton* ev)
{ {
int note = _view.y_to_note(ev->y); 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)) { if (Keyboard::no_modifiers_active (ev->state)) {
AddNoteSelection (note); // EMIT SIGNAL AddNoteSelection (note); // EMIT SIGNAL