0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 08:52:38 +00:00

move all pointer events to divider, not splitPane

This commit is contained in:
Gazook89
2023-07-31 22:20:27 -05:00
parent 73e44b8d7a
commit 0bde336226
2 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ const SplitPane = createClass({
renderDivider : function(){
return <>
{this.renderMoveArrows()}
<div className='divider' onPointerDown={this.handleDown} >
<div className='divider' onPointerDown={this.handleDown} onPointerMove={this.handleMove} onPointerUp={this.handleUp} >
<div className='dots'>
<i className='fas fa-circle' />
<i className='fas fa-circle' />
@@ -136,7 +136,7 @@ const SplitPane = createClass({
},
render : function(){
return <div className='splitPane' onPointerMove={this.handleMove} onPointerUp={this.handleUp}>
return <div className='splitPane'>
<Pane
ref='pane1'
width={this.state.currentDividerPos}