diff --git a/shared/naturalcrit/splitPane/splitPane.jsx b/shared/naturalcrit/splitPane/splitPane.jsx index 4281b0dad..47f8ceafe 100644 --- a/shared/naturalcrit/splitPane/splitPane.jsx +++ b/shared/naturalcrit/splitPane/splitPane.jsx @@ -63,6 +63,7 @@ const SplitPane = createClass({ handleUp : function(e){ e.preventDefault(); + console.log('up'); if(this.state.isDragging){ this.props.onDragFinish(this.state.currentDividerPos); window.localStorage.setItem(this.props.storageKey, this.state.currentDividerPos); @@ -72,6 +73,8 @@ const SplitPane = createClass({ handleDown : function(e){ e.preventDefault(); + + console.log('down'); this.setState({ isDragging: true }); //this.unFocus() }, @@ -79,6 +82,8 @@ const SplitPane = createClass({ handleMove : function(e){ e.preventDefault(); + + console.log('move'); if(!this.state.isDragging) return; const newSize = this.limitPosition(e.pageX); @@ -125,7 +130,7 @@ const SplitPane = createClass({ renderDivider : function(){ return <> {this.renderMoveArrows()} -