trigger refresh sooner by one viewport in advance

This commit is contained in:
tophf 2020-10-11 12:32:27 +03:00
parent 975b9e3f67
commit 871e7a3fc5

View File

@ -57,6 +57,8 @@ function createSectionsEditor({style, onTitleChanged}) {
xo.unobserve(target);
}
}
}, {
rootMargin: '100%',
});
CodeMirror.defineExtension('refreshOnView', function () {
if (xo) {