13
0

pressing alt while creating a note (snap modifier) keeps mouse_state.

This commit is contained in:
nick_m 2016-11-20 04:54:20 +11:00
parent e525be86d6
commit 0af9fb0dee

View File

@ -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;