pushing some new shortcuts and fixing highlighting

This commit is contained in:
2023-12-20 11:52:20 +01:00
parent 6f886ecc10
commit 24dabca102
2 changed files with 24 additions and 8 deletions

View File

@ -131,12 +131,15 @@ export class UserAPI {
load: samples;
public global: { [key: string]: any };
public g;
constructor(public app: Editor) {
this.MidiConnection = new MidiConnection(this, app.settings);
this.global = {};
this.g = this.global;
}
_loadUniverseFromInterface = (universe: string) => {
this.app.selected_universe = universe.trim();
this.app.settings.selected_universe = universe.trim();
@ -535,6 +538,7 @@ export class UserAPI {
*/
this.MidiConnection.sendMidiControlChange(control, value, channel);
};
public cc = this.control_change;
public midi_panic = (): void => {
/**