diff --git a/src/lib/components/chat/ChatControls.svelte b/src/lib/components/chat/ChatControls.svelte index db53b73f6..925f19aa4 100644 --- a/src/lib/components/chat/ChatControls.svelte +++ b/src/lib/components/chat/ChatControls.svelte @@ -121,14 +121,10 @@ { if (size === 0) { showControls.set(false); - } else if (size < 35) { - pane.resize(0); } else { if (!$showControls) { showControls.set(true); diff --git a/src/lib/components/layout/Navbar.svelte b/src/lib/components/layout/Navbar.svelte index 7eec21609..8ac4c6027 100644 --- a/src/lib/components/layout/Navbar.svelte +++ b/src/lib/components/layout/Navbar.svelte @@ -116,7 +116,7 @@ if (controlPane) { if ($showControls) { controlPane.resize( - Math.max(parseInt(localStorage.getItem('chat-controls-size') || '35'), 35) + parseInt(localStorage.getItem('chat-controls-size') || '35') ); } else { controlPane.resize(0);