0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 16:02:38 +00:00

Added hideMoveArrows prop to split pane for use in vault

This commit is contained in:
Víctor Losada Hernández
2024-07-25 23:11:51 +02:00
parent cc08579583
commit 3e2c2de269
2 changed files with 3 additions and 3 deletions

View File

@@ -379,7 +379,7 @@ const VaultPage = (props) => {
<link href="/themes/V3/5ePHB/style.css" rel="stylesheet" />
{renderNavItems()}
<div className="content">
<SplitPane>
<SplitPane hideMoveArrows>
<div className="form dataGroup">{renderForm()}</div>
<div className="resultsContainer dataGroup">

View File

@@ -8,7 +8,7 @@ const SplitPane = createClass({
getDefaultProps : function() {
return {
storageKey : 'naturalcrit-pane-split',
onDragFinish : function(){} //fires when dragging
onDragFinish : function(){}, //fires when dragging
};
},
@@ -19,7 +19,7 @@ const SplitPane = createClass({
isDragging : false,
moveSource : false,
moveBrew : false,
showMoveArrows : true
showMoveArrows : !this.props.hideMoveArrows,
};
},