Skip to content

Instantly share code, notes, and snippets.

@aumhaa
Created August 5, 2014 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aumhaa/f26cab6a0c542541da74 to your computer and use it in GitHub Desktop.
Save aumhaa/f26cab6a0c542541da74 to your computer and use it in GitHub Desktop.
Addition of SessionLaunch to shifted mixPage
mixerPage.update_mode = function()
{
post('mixerPage updated');
if(mixerPage._shifted)
{
clipLaunch.exit_mode();
session.display_pane(true);
for(var i=0;i<8;i++)
{
mixer.channelstrip(i)._select.set_control();
}
trackControl.enter_mode();
session.set_nav_buttons(bottombuttons[6], bottombuttons[7], bottombuttons[5], bottombuttons[4]);
session._scene_launch.set_controls(bottombuttons[0], bottombuttons[1], bottombuttons[2], bottombuttons[3]);
mixerPage._shift_button.send(64);
}
else
{
trackControl.exit_mode();
session.set_nav_buttons();
session._scene_launch.set_controls();
mixerPage.enter_mode();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment