方正 8 anni fa
parent
commit
4f93ed03c1
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      app/src/App.js

+ 0 - 4
app/src/App.js

@@ -19,14 +19,10 @@ export default class Drager extends React.Component {
         let deltaX = some.clientX - this.state.originX + elX
         let deltaY = some.clientY - this.state.originY + elY
 
-
-        
         this.setState({
             x: deltaX,
             y: deltaY
         })
-
-        console.log(some.target.offsetParent.clientHeight)
     }
     ondrag(some) {
         document.addEventListener('mousemove', this.move)