Fixed scroll link on top of the screen when focus mode is active
This commit is contained in:
parent
95caf6674f
commit
6855d140d8
@ -95,6 +95,7 @@ define([
|
||||
return;
|
||||
}
|
||||
var editorScrollTop = aceEditor.renderer.getScrollTop();
|
||||
editorScrollTop < 0 && (editorScrollTop = 0);
|
||||
var previewScrollTop = $previewElt.scrollTop();
|
||||
function getDestScrollTop(srcScrollTop, srcSectionList, destSectionList) {
|
||||
// Find the section corresponding to the offset
|
||||
|
Loading…
Reference in New Issue
Block a user