This commit is contained in:
Trevor Buckner committed 2024-09-14 19:02:55 -04:00
1 parent 76c9f2ee71
commit 26a126859d
1 file changed
+1 -1
+1 -1
View File
@@ -399,7 +399,7 @@ const CodeEditor = createClass({
},
getTopVisibleLine : function(){
const rect = this.codeMirror.getWrapperElement().getBoundingClientRect();
const topVisibleLine = this.codeMirror.lineAtHeight(rect.top, "window");
const topVisibleLine = this.codeMirror.lineAtHeight(rect.top, "window");
return topVisibleLine;
},
updateSize : function(){