mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 12:17:02 +00:00
Fix button position with default divider position
This commit is contained in:
1 parent
160cfcce4d
commit
db5e4fc36c
1 file changed
+6
-1
@@ -29,6 +29,10 @@ const SplitPane = createClass({
|
||||
userSetDividerPos : dividerPos,
|
||||
windowWidth : window.innerWidth
|
||||
});
|
||||
} else {
|
||||
this.setState({
|
||||
currentDividerPos : window.innerWidth / 2
|
||||
});
|
||||
}
|
||||
window.addEventListener('resize', this.handleWindowResize);
|
||||
},
|
||||
@@ -83,7 +87,8 @@ const SplitPane = createClass({
|
||||
window.getSelection().removeAllRanges();
|
||||
}
|
||||
},
|
||||
*/
|
||||
*/
|
||||
|
||||
renderDivider : function(){
|
||||
return <>
|
||||
<div className='arrow left'
|
||||
|
||||
Reference in new issue
Block a user