Stop MidiRegionView claiming PrimaryModifier-scrollwheel so
that zoom still works when MIDI notes are selected (#4323). git-svn-id: svn://localhost/ardour2/branches/3.0@10159 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5f2ef08666
commit
29902b5731
|
@ -719,6 +719,13 @@ MidiRegionView::scroll (GdkEventScroll* ev)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) {
|
||||
/* XXX: bit of a hack; allow PrimaryModifier scroll through so that
|
||||
it still works for zoom.
|
||||
*/
|
||||
return false;
|
||||
}
|
||||
|
||||
trackview.editor().verbose_cursor()->hide ();
|
||||
|
||||
bool fine = !Keyboard::modifier_state_equals (ev->state, Keyboard::SecondaryModifier);
|
||||
|
|
Loading…
Reference in New Issue
Block a user