13
0

another change from modifier_state() to main_modifier_state()

This commit is contained in:
Paul Davis 2015-10-02 22:07:49 -04:00
parent c78426968f
commit 0ee737f129

View File

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