Benoît Hubert %!s(int64=7) %!d(string=hai) anos
pai
achega
8f13565251
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      react-admin/src/components/Home.js

+ 2 - 2
react-admin/src/components/Home.js

@@ -147,7 +147,7 @@ this.props.tree.onDragOver(this);
     // this.setState({
     //   dragged, dragOver: true, aboveMidLine
     // });
-    console.log(this.props.index);
+    console.log(this.props.index, 'levels', this.props.tree.state.draggedItem.props.level, this.props.level);
 
 
     this.scheduleDragOverChange(1);
@@ -166,7 +166,7 @@ this.props.tree.onDragOver(this);
       this.setState({
         dragOver: self.drags > 0
       });
-    }, 100);
+    }, 80);
   }
 
   componentDidMount() {