This commit is contained in:
Liang Ding 2023-03-18 10:38:22 +08:00
parent 681318cbb9
commit b81152515c
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 26 additions and 7 deletions

View file

@ -82,7 +82,7 @@ export class Scroll {
if (protyle.block.showAll) {
this.element.classList.add("fn__none");
} else {
if (protyle.block.childBlockCount > window.siyuan.config.editor.dynamicLoadBlocks) {
if (protyle.block.scroll) {
this.element.classList.remove("fn__none");
} else {
this.element.classList.add("fn__none");