Keep auditioning notes when piano roll header has focus #8374

This commit is contained in:
Robin Gareus 2020-08-27 02:17:46 +02:00
parent 353ac8e106
commit c0f9710537
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -591,6 +591,9 @@ PianoRollHeader::on_enter_notify_event (GdkEventCrossing* ev)
bool
PianoRollHeader::on_leave_notify_event (GdkEventCrossing*)
{
if (has_grab () && _dragging) {
return true;
}
invalidate_note_range(_highlighted_note, _highlighted_note);
if (_clicked_note != NO_MIDI_NOTE) {