minor bugfixes
This commit is contained in:
@ -72,7 +72,7 @@ export class MidiConnection{
|
||||
const timeoutId = setTimeout(() => {
|
||||
output.send(noteOffMessage);
|
||||
delete this.scheduledNotes[noteNumber];
|
||||
}, durationMs);
|
||||
}, durationMs - 100);
|
||||
|
||||
this.scheduledNotes[noteNumber] = timeoutId;
|
||||
} else {
|
||||
|
||||
@ -252,6 +252,7 @@ export class Editor {
|
||||
if (event.ctrlKey) {
|
||||
this.api.script(keycode - 111)
|
||||
} else {
|
||||
this.changeModeFromInterface("local");
|
||||
this.changeToLocalBuffer(index);
|
||||
}
|
||||
}
|
||||
@ -365,6 +366,8 @@ export class Editor {
|
||||
this.loadUniverse(query);
|
||||
this.buffer_search.value = "";
|
||||
this.closeBuffersModal();
|
||||
// Focus on the editor
|
||||
this.view.focus();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user