Refactor object mangling and add midi support

This commit is contained in:
2023-11-03 16:07:39 +02:00
parent 269df3f899
commit a09e3a76be
7 changed files with 242 additions and 161 deletions

View File

@@ -4,11 +4,11 @@ import { Event } from "./AbstractEvents";
export class RestEvent extends Event {
constructor(length: number, app: Editor) {
super(app);
this.values["length"] = length;
this.values["noteLength"] = length;
}
_fallbackMethod = (): Event => {
return RestEvent.createRestProxy(this.values["length"], this.app);
return RestEvent.createRestProxy(this.values["noteLength"], this.app);
};
public static createRestProxy = (