mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
pressing alt while creating a note (snap modifier) keeps mouse_state.
This commit is contained in:
parent
e525be86d6
commit
0af9fb0dee
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue