This commit is contained in:
Timothy J. Baek 2024-09-21 15:48:16 +02:00
parent 8fc178ae91
commit b4adffc3af

View File

@ -122,10 +122,9 @@
</PaneResizer>
<Pane
bind:pane
defaultSize={$showControls
? controlPane.resize(parseInt(localStorage?.chatControlsSize ?? '30'))
: 0}
defaultSize={$showControls ? parseInt(localStorage?.chatControlsSize ?? '30') : 0}
onResize={(size) => {
console.log(size);
if (size === 0) {
showControls.set(false);
} else {