This commit is contained in:
Felix Roos 2022-02-27 12:08:23 +01:00
parent ef3ab6161f
commit 9442b5c66b
9 changed files with 107 additions and 90 deletions

View file

@ -19,7 +19,7 @@ export default function CodeMirror({value, onChange, options, editorDidMount}) {
editorDidMount
});
}
export const markEvent = (editor) => (event) => {
export const markEvent = (editor) => (time, event) => {
const locs = event.value.locations;
if (!locs || !editor) {
return;