mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
another change from modifier_state() to main_modifier_state()
This commit is contained in:
parent
c78426968f
commit
0ee737f129
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ Surface::handle_midi_controller_message (MIDI::Parser &, MIDI::EventTwoBytes* ev
|
||||||
}
|
}
|
||||||
|
|
||||||
float delta = 0;
|
float delta = 0;
|
||||||
if (mcp().modifier_state() == MackieControlProtocol::MODIFIER_CONTROL) {
|
if (mcp().main_modifier_state() == MackieControlProtocol::MODIFIER_CONTROL) {
|
||||||
delta = sign * (ticks / (float) 0xff);
|
delta = sign * (ticks / (float) 0xff);
|
||||||
} else {
|
} else {
|
||||||
delta = sign * (ticks / (float) 0x3f);
|
delta = sign * (ticks / (float) 0x3f);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue