From 22b07e0233a29d9633ffa825a79503befaf2e16e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 5 Oct 2015 16:17:49 +0200 Subject: NOOP, remove trailing tabs/whitespace. --- gtk2_ardour/piano_roll_header.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour/piano_roll_header.cc') diff --git a/gtk2_ardour/piano_roll_header.cc b/gtk2_ardour/piano_roll_header.cc index 8b2e49770d..043f6c546e 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) if (_dragging) { if ( false /*editor().current_mouse_mode() == Editing::MouseRange*/ ) { //ToDo: fix this. this mode is buggy, and of questionable utility anyway - + /* select note range */ if (Keyboard::no_modifiers_active (ev->state)) { @@ -480,9 +480,9 @@ PianoRollHeader::on_motion_notify_event (GdkEventMotion* ev) if (_clicked_note != NO_MIDI_NOTE && _clicked_note != note) { _active_notes[_clicked_note] = false; send_note_off(_clicked_note); - + _clicked_note = note; - + if (!_active_notes[note]) { _active_notes[note] = true; send_note_on(note); @@ -511,12 +511,12 @@ PianoRollHeader::on_button_press_event (GdkEventButton* ev) } else if (ev->button == 1 && note >= 0 && note < 128) { add_modal_grab(); _dragging = true; - + if (!_active_notes[note]) { _active_notes[note] = true; _clicked_note = note; send_note_on(note); - + invalidate_note_range(note, note); } else { reset_clicked_note(note); @@ -540,7 +540,7 @@ PianoRollHeader::on_button_release_event (GdkEventButton* ev) } else if (Keyboard::modifier_state_equals (ev->state, Keyboard::RangeSelectModifier)) { ExtendNoteSelection (note); // EMIT SIGNAL } - + } else { if (_dragging) { -- cgit v1.2.3