🎨 支持设置页签打开最大数量 https://github.com/siyuan-note/siyuan/issues/2098

This commit is contained in:
Liang Ding
2022-06-23 11:38:35 +08:00
parent 35cf6d1b49
commit 978ae3f555

View File

@@ -133,6 +133,9 @@ func InitConf() {
if 1 > Conf.FileTree.MaxOpenTabCount {
Conf.FileTree.MaxOpenTabCount = 12
}
if 32 < Conf.FileTree.MaxOpenTabCount {
Conf.FileTree.MaxOpenTabCount = 32
}
if nil == Conf.Tag {
Conf.Tag = conf.NewTag()
}