another change from modifier_state() to main_modifier_state()
This commit is contained in:
parent
c78426968f
commit
0ee737f129
@ -503,7 +503,7 @@ Surface::handle_midi_controller_message (MIDI::Parser &, MIDI::EventTwoBytes* ev
|
||||
}
|
||||
|
||||
float delta = 0;
|
||||
if (mcp().modifier_state() == MackieControlProtocol::MODIFIER_CONTROL) {
|
||||
if (mcp().main_modifier_state() == MackieControlProtocol::MODIFIER_CONTROL) {
|
||||
delta = sign * (ticks / (float) 0xff);
|
||||
} else {
|
||||
delta = sign * (ticks / (float) 0x3f);
|
||||
|
Loading…
Reference in New Issue
Block a user