trigger refresh sooner by one viewport in advance
This commit is contained in:
parent
975b9e3f67
commit
871e7a3fc5
|
@ -57,6 +57,8 @@ function createSectionsEditor({style, onTitleChanged}) {
|
||||||
xo.unobserve(target);
|
xo.unobserve(target);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
rootMargin: '100%',
|
||||||
});
|
});
|
||||||
CodeMirror.defineExtension('refreshOnView', function () {
|
CodeMirror.defineExtension('refreshOnView', function () {
|
||||||
if (xo) {
|
if (xo) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user