Skip to content

Commit

Permalink
Deshabilitar temporalmente reproducir la linea actual
Browse files Browse the repository at this point in the history
  • Loading branch information
holomorfo committed Jun 8, 2023
1 parent cbc7369 commit a69fff5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/editorCodeMirror/editorParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ function EditorParser({ parent, parser, handlePlay }) {
keymaps,
basicSetup,
EditorView.lineWrapping,
EditorView.updateListener.of((v) => {
currentLineText = getCurrentLineText(v)
})
// EditorView.updateListener.of((v) => {
// console.log(v)
// currentLineText = getCurrentLineText(v)
// console.log(currentLineText)
// })
]
})

Expand Down
4 changes: 2 additions & 2 deletions src/editorCodeMirror/tutorialString.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const tutorialString = `// Presiona ctrl+enter para correr la linea del cursor o la seleccion
// Ritmos euclidianos
const tutorialString = `// Presiona ctrl+enter para correr la seleccion de texto
// Ritmos euclidianos, de momento solo "sine"
c4(3,8)
g8(5,12)
// Presiona ctrl+. para detener la última secuencia
Expand Down

0 comments on commit a69fff5

Please sign in to comment.