File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -128,21 +128,11 @@ export class DraggingPositionEvaluation {
128128 this . env . items [ newParent . parent . item ] . children ! . indexOf (
129129 insertionItemAbove . parent . item
130130 ) + 1 ;
131- console . log (
132- `new parent is ${ newParent . parent . item } , target is ${ this . targetItem . item } and reparentedChildIndex is ${ reparentedChildIndex } }`
133- ) ;
134- console . log ( newParent ) ;
135- console . log ( 'new depth is' , newParent . parent . depth + 1 ) ;
136131
137132 return {
138133 targetType : 'between-items' ,
139134 treeId : this . treeId ,
140- // parentItem: this.evaluator.getParentOfLinearItem(
141- // newParent.parentLinearIndex,
142- // this.treeId
143- // ).parent.item,
144135 parentItem : newParent . parent . item ,
145- // depth: newParent.parent.depth + 1,
146136 depth : droppingIndent ,
147137 linearIndex : this . linearIndex + 1 ,
148138 childIndex : reparentedChildIndex ,
You can’t perform that action at this time.
0 commit comments