refac: chat controls size

This commit is contained in:
Timothy J. Baek
2024-09-21 15:46:39 +02:00
parent 580ad46036
commit 8fc178ae91
2 changed files with 6 additions and 8 deletions
+1 -3
View File
@@ -123,9 +123,7 @@
<Pane
bind:pane
defaultSize={$showControls
? parseInt(localStorage.getItem('chat-controls-size') || '35')
? parseInt(localStorage.getItem('chat-controls-size') || '35')
: 35
? controlPane.resize(parseInt(localStorage?.chatControlsSize ?? '30'))
: 0}
onResize={(size) => {
if (size === 0) {