0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00

Merge pull request #2383 from Gazook89/Prevent-Selection-on-splitPane-drag

Prevent text selection in editor when dragging splitPane divider.
This commit is contained in:
Trevor Buckner
2022-09-25 22:29:36 -04:00
committed by GitHub

View File

@@ -69,7 +69,8 @@ const SplitPane = createClass({
this.setState({ isDragging: false });
},
handleDown : function(){
handleDown : function(e){
e.preventDefault();
this.setState({ isDragging: true });
//this.unFocus()
},