style: swiftformat pass — drift from the format gate
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Whole-tree swiftformat/swiftlint run during #136 flagged 9 files drifted (/// doc markers on private members, one force-unwrap to #require). Comment- and lint-only, no code change.
This commit is contained in:
1 parent
5ad605eb3c
commit
a4ea914690
9 files changed
+18
-27
No files matched your search
@@ -678,11 +678,7 @@ extension OutlineEditorView {
|
||||
private func endDrag(at point: CGPoint?, frames: [UUID: CGRect]?) {
|
||||
let info = drag
|
||||
drag = nil
|
||||
guard let point, let info, let frames else { return }
|
||||
guard let target = OutlinePresenter.hitTestDrop(point: point, rows: materializedRows(frames: frames)) else {
|
||||
return
|
||||
}
|
||||
guard OutlinePresenter.applyDrop(target, moving: info.moving, in: &nodes) else { return }
|
||||
guard let point, let info, let frames, let target = OutlinePresenter.hitTestDrop(point: point, rows: materializedRows(frames: frames)), OutlinePresenter.applyDrop(target, moving: info.moving, in: &nodes) else { return }
|
||||
selectionAnchor = info.moving.first
|
||||
focusedID = info.moving.last
|
||||
pendingCaret = nil
|
||||
|
||||
Reference in new issue
Block a user