mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 支持设置页签打开最大数量 https://github.com/siyuan-note/siyuan/issues/2098
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user