Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-10-29 16:01:31 +08:00
parent e5f3fc5e51
commit 5e85d895b3
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -255,7 +255,7 @@ func Outline(rootID string, preview bool) (ret []*Path, err error) {
// 先全部折叠,后面再根据展开 ID 列表展开对应标题
for _, p := range ret {
for _, b := range p.Blocks {
b.Folded = false
b.Folded = true
for _, c := range b.Children {
walkChildren(c, []string{"expandNone"})
}