Skip to content

Commit

Permalink
Merge pull request #6 from Emilgardis/dont-scroll
Browse files Browse the repository at this point in the history
don't scroll to active line
  • Loading branch information
Ryex authored Apr 3, 2024
2 parents d95ce8e + 5910096 commit 85c2e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/src/js/editor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ class IC10Editor {
that.active_line_markers.set(id, session.addMarker(new Range(active_line, 0, active_line, 1), "vm_ic_active_line", "fullLine", true));
if (that.active_session == id) {
// editor.resize(true);
that.aceEditor.scrollToLine(active_line, true, true, ()=>{})
// TODO: Scroll to line if vm was stepped
//that.aceEditor.scrollToLine(active_line, true, true, ()=>{})
}
}
}
Expand Down

0 comments on commit 85c2e44

Please sign in to comment.