Prevent double-click on the pianoroll to toggle track height
This commit is contained in:
parent
26b6bece95
commit
41115f1282
@ -674,9 +674,8 @@ PianoRollHeader::on_button_press_event (GdkEventButton* ev)
|
|||||||
_adj.set_page_size (127.0);
|
_adj.set_page_size (127.0);
|
||||||
_adj.value_changed ();
|
_adj.value_changed ();
|
||||||
queue_draw ();
|
queue_draw ();
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
return false;
|
return true;
|
||||||
} else if (ev->button == 2 && Keyboard::no_modifiers_active (ev->state)) {
|
} else if (ev->button == 2 && Keyboard::no_modifiers_active (ev->state)) {
|
||||||
SetNoteSelection (note); // EMIT SIGNAL
|
SetNoteSelection (note); // EMIT SIGNAL
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user