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