🎨 Improve backlink panel expansion configuration https://github.com/siyuan-note/siyuan/issues/11262

This commit is contained in:
Daniel
2024-05-11 16:14:07 +08:00
parent d43ea4a65e
commit c015fbfa74
9 changed files with 10 additions and 10 deletions

View File

@@ -249,8 +249,8 @@ func InitConf() {
if conf.MaxDynamicLoadBlocks < Conf.Editor.DynamicLoadBlocks {
Conf.Editor.DynamicLoadBlocks = conf.MaxDynamicLoadBlocks
}
if -1 > Conf.Editor.BacklinkExpandCount {
Conf.Editor.BacklinkExpandCount = -1
if 0 > Conf.Editor.BacklinkExpandCount {
Conf.Editor.BacklinkExpandCount = 0
}
if -1 > Conf.Editor.BackmentionExpandCount {
Conf.Editor.BackmentionExpandCount = -1