pressing alt while creating a note (snap modifier) keeps mouse_state.
This commit is contained in:
parent
e525be86d6
commit
0af9fb0dee
@ -713,10 +713,9 @@ MidiRegionView::key_press (GdkEventKey* ev)
|
||||
detectable auto-repeat is the name of the game and only sends
|
||||
repeated presses, carry out key actions at key press, not release.
|
||||
*/
|
||||
|
||||
bool unmodified = Keyboard::no_modifier_keys_pressed (ev);
|
||||
|
||||
if (unmodified && (ev->keyval == GDK_Alt_L || ev->keyval == GDK_Alt_R)) {
|
||||
if (unmodified && (ev->keyval == GDK_Alt_L || ev->keyval == GDK_Alt_R) && _mouse_state != AddDragging) {
|
||||
_mouse_state = SelectTouchDragging;
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user