🎨 Improve ref count floating window render heading
This commit is contained in:
parent
b10edbbcb9
commit
6d00914018
1 changed files with 0 additions and 4 deletions
|
@ -502,10 +502,6 @@ func GetDoc(startID, endID, id string, index int, keyword string, mode int, size
|
|||
if ast.NodeParagraph == node.Type {
|
||||
if nil != node.Parent && ast.NodeListItem == node.Parent.Type {
|
||||
node = node.Parent
|
||||
} else {
|
||||
if parent := treenode.HeadingParent(node); nil != parent && ast.NodeDocument != parent.Type {
|
||||
node = parent
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue