Skip to content

Commit

Permalink
🎨 The outline item in the outline panel supports dragging to adjust t…
Browse files Browse the repository at this point in the history
…he level and position #7957
  • Loading branch information
88250 committed Mar 29, 2024
1 parent 24e929b commit e988f53
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions kernel/model/outline.go
Expand Up @@ -71,12 +71,6 @@ func (tx *Transaction) doMoveOutlineHeading(operation *Operation) (ret *TxErr) {
}
}

if targetNode == heading.Previous {
if previousHeading.HeadingLevel >= heading.HeadingLevel {
return
}
}

diffLevel := heading.HeadingLevel - previousHeading.HeadingLevel
heading.HeadingLevel = previousHeading.HeadingLevel

Expand Down

0 comments on commit e988f53

Please sign in to comment.