From 2810c71f17774723121abcba143a4cccec1730d6 Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Fri, 24 Jun 2022 07:36:57 +0530 Subject: Fix navigation toolbar buttons not being clickable (fixes #347) (#348) --- src/components/layout/AppLayout.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index 5cfd66714..b2f1c9923 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js @@ -124,12 +124,16 @@ class AppLayout extends Component { const { intl } = this.props; - const { locked, automaticUpdates } = settings.app; + const { locked, automaticUpdates, showDragArea } = settings.app; if (locked) { return ; } return ( + <> + {isMac && !isFullScreen && showDragArea && ( +
+ )}
{isWindows && !isFullScreen && ( @@ -138,7 +142,7 @@ class AppLayout extends Component { icon="assets/images/logo.svg" /> )} - {isMac && !isFullScreen && ( + {isMac && !isFullScreen && showDragArea && (
+ ); } } -- cgit v1.2.3-54-g00ecf