fix use of reveal line

pull/5370/head
yann300 3 years ago
parent 2a4e399521
commit 083e52f7c9
  1. 2
      apps/remix-ide/src/app/editor/editor.js

@ -364,7 +364,7 @@ class Editor extends Plugin {
*/
scrollToLine (line) {
if (!this.activated) return
this.emit('revealLine', line, 0)
this.emit('revealLine', line + 1, 0)
}
/**

Loading…
Cancel
Save