aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Ricardo Cino <ricardo@cino.io>2022-06-26 23:53:24 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-26 21:53:24 +0000
commit53368508f5cb46942508d3f1c77bdee63691f7a6 (patch)
treeec263be3186cf7f725d085a7abdba6016c2d409d /src
parentfix: solve recipe function calls that were broken cause of js=>ts con… (#369) (diff)
downloadferdium-app-53368508f5cb46942508d3f1c77bdee63691f7a6.tar.gz
ferdium-app-53368508f5cb46942508d3f1c77bdee63691f7a6.tar.zst
ferdium-app-53368508f5cb46942508d3f1c77bdee63691f7a6.zip
fix: bring the draggable area back on MacOS (#372)
Diffstat (limited to 'src')
-rw-r--r--src/components/layout/AppLayout.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js
index b2f1c9923..fc3c89fc8 100644
--- a/src/components/layout/AppLayout.js
+++ b/src/components/layout/AppLayout.js
@@ -65,7 +65,7 @@ const styles = theme => ({
65 display: 'block', 65 display: 'block',
66 zIndex: 1, 66 zIndex: 1,
67 width: '100%', 67 width: '100%',
68 height: '29px', 68 height: '10px',
69 position: 'absolute', 69 position: 'absolute',
70 top: 0, 70 top: 0,
71 }, 71 },
@@ -124,14 +124,14 @@ class AppLayout extends Component {
124 124
125 const { intl } = this.props; 125 const { intl } = this.props;
126 126
127 const { locked, automaticUpdates, showDragArea } = settings.app; 127 const { locked, automaticUpdates } = settings.app;
128 if (locked) { 128 if (locked) {
129 return <LockedScreen />; 129 return <LockedScreen />;
130 } 130 }
131 131
132 return ( 132 return (
133 <> 133 <>
134 {isMac && !isFullScreen && showDragArea && ( 134 {isMac && !isFullScreen && (
135 <div className="window-draggable" /> 135 <div className="window-draggable" />
136 )} 136 )}
137 <ErrorBoundary> 137 <ErrorBoundary>
@@ -142,7 +142,7 @@ class AppLayout extends Component {
142 icon="assets/images/logo.svg" 142 icon="assets/images/logo.svg"
143 /> 143 />
144 )} 144 )}
145 {isMac && !isFullScreen && showDragArea && ( 145 {isMac && !isFullScreen && (
146 <span 146 <span
147 onDoubleClick={toggleFullScreen} 147 onDoubleClick={toggleFullScreen}
148 className={classes.titleBar} 148 className={classes.titleBar}