fix
This commit is contained in:
1 parent
8fc178ae91
commit
b4adffc3af
1 file changed
+2
-3
@@ -122,10 +122,9 @@
|
|||||||
</PaneResizer>
|
</PaneResizer>
|
||||||
<Pane
|
<Pane
|
||||||
bind:pane
|
bind:pane
|
||||||
defaultSize={$showControls
|
defaultSize={$showControls ? parseInt(localStorage?.chatControlsSize ?? '30') : 0}
|
||||||
? controlPane.resize(parseInt(localStorage?.chatControlsSize ?? '30'))
|
|
||||||
: 0}
|
|
||||||
onResize={(size) => {
|
onResize={(size) => {
|
||||||
|
console.log(size);
|
||||||
if (size === 0) {
|
if (size === 0) {
|
||||||
showControls.set(false);
|
showControls.set(false);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user