refac: only show resizer when controls is open

This commit is contained in:
Timothy J. Baek 2024-10-05 14:54:15 -07:00
parent 1558f64c48
commit a571ae4ec2

View File

@ -127,11 +127,14 @@
{/if}
{:else}
<!-- if $showControls -->
{#if $showControls}
<PaneResizer class="relative flex w-2 items-center justify-center bg-background group">
<div class="z-10 flex h-7 w-5 items-center justify-center rounded-sm">
<EllipsisVertical className="size-4 invisible group-hover:visible" />
</div>
</PaneResizer>
{/if}
<Pane
bind:pane
defaultSize={$showControls