🎨 支持设置页签打开最大数量 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
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

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()
}