Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-09-22 16:53:53 +08:00
parent 1ce7f2c9b6
commit bba500508f
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -91,7 +91,6 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
for _, h := range headingChildren {
if h.ID == targetNode.ID { // 目标节点是当前标题的子节点
// 尝试重新计算目标节点:使用当前标题的前一个节点
targetNode = heading.Previous
}
}