From 78aecdffbb63a0a9dc551a338fa40b6480d599a6 Mon Sep 17 00:00:00 2001 From: ali asaria <aliasaria@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:48:46 -0500 Subject: [PATCH] don't show dragbar if closed --- src/renderer/App.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 5fdcff7f..f831f9ab 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -201,7 +201,11 @@ export default function App() { }} > <div> </div> - <DraggableElipsis notifyOnMove={onOutputDrawerDrag} /> + {logsDrawerOpen ? ( + <DraggableElipsis notifyOnMove={onOutputDrawerDrag} /> + ) : ( + <> </> + )} <IconButton sx={{ padding: 0, margin: 0, minHeight: 0 }} onClick={() => setLogsDrawerOpen(!logsDrawerOpen)} -- GitLab