13
0

Prevent double-click on the pianoroll to toggle track height

This commit is contained in:
Robin Gareus 2024-03-27 03:25:36 +01:00
parent 26b6bece95
commit 41115f1282
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -674,9 +674,8 @@ PianoRollHeader::on_button_press_event (GdkEventButton* ev)
_adj.set_page_size (127.0);
_adj.value_changed ();
queue_draw ();
return false;
}
return false;
return true;
} else if (ev->button == 2 && Keyboard::no_modifiers_active (ev->state)) {
SetNoteSelection (note); // EMIT SIGNAL
return true;