From 3e2c2de269a03721703f41239eacc97e6c00c540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Thu, 25 Jul 2024 23:11:51 +0200 Subject: [PATCH] Added hideMoveArrows prop to split pane for use in vault --- client/homebrew/pages/vaultPage/vaultPage.jsx | 2 +- shared/naturalcrit/splitPane/splitPane.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/homebrew/pages/vaultPage/vaultPage.jsx b/client/homebrew/pages/vaultPage/vaultPage.jsx index f8bca4052..1a055c9b1 100644 --- a/client/homebrew/pages/vaultPage/vaultPage.jsx +++ b/client/homebrew/pages/vaultPage/vaultPage.jsx @@ -379,7 +379,7 @@ const VaultPage = (props) => { {renderNavItems()}
- +
{renderForm()}
diff --git a/shared/naturalcrit/splitPane/splitPane.jsx b/shared/naturalcrit/splitPane/splitPane.jsx index 55af5e386..ffab6bec9 100644 --- a/shared/naturalcrit/splitPane/splitPane.jsx +++ b/shared/naturalcrit/splitPane/splitPane.jsx @@ -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, }; },