mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 03:40:15 +01:00
🎨 改进动态加载判断 Fix https://github.com/siyuan-note/siyuan/issues/7693
This commit is contained in:
parent
681318cbb9
commit
b81152515c
5 changed files with 26 additions and 7 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue