mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 13:32:45 +00:00
Added hideMoveArrows prop to split pane for use in vault
This commit is contained in:
@@ -379,7 +379,7 @@ const VaultPage = (props) => {
|
|||||||
<link href="/themes/V3/5ePHB/style.css" rel="stylesheet" />
|
<link href="/themes/V3/5ePHB/style.css" rel="stylesheet" />
|
||||||
{renderNavItems()}
|
{renderNavItems()}
|
||||||
<div className="content">
|
<div className="content">
|
||||||
<SplitPane>
|
<SplitPane hideMoveArrows>
|
||||||
<div className="form dataGroup">{renderForm()}</div>
|
<div className="form dataGroup">{renderForm()}</div>
|
||||||
|
|
||||||
<div className="resultsContainer dataGroup">
|
<div className="resultsContainer dataGroup">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const SplitPane = createClass({
|
|||||||
getDefaultProps : function() {
|
getDefaultProps : function() {
|
||||||
return {
|
return {
|
||||||
storageKey : 'naturalcrit-pane-split',
|
storageKey : 'naturalcrit-pane-split',
|
||||||
onDragFinish : function(){} //fires when dragging
|
onDragFinish : function(){}, //fires when dragging
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ const SplitPane = createClass({
|
|||||||
isDragging : false,
|
isDragging : false,
|
||||||
moveSource : false,
|
moveSource : false,
|
||||||
moveBrew : false,
|
moveBrew : false,
|
||||||
showMoveArrows : true
|
showMoveArrows : !this.props.hideMoveArrows,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user