small progress

This commit is contained in:
vcoppe
2024-07-10 00:11:47 +02:00
parent bdcc554aaf
commit cb4abedc16
6 changed files with 16 additions and 9 deletions

View File

@@ -212,11 +212,17 @@
<div>{$_('toolbar.routing.help')}</div>
{/if}
</Help>
{#if minimizable}
<Button variant="ghost" class="px-1 h-6" on:click={() => (minimized = true)}>
<SquareArrowUpLeft size="18" />
</Button>
{/if}
<Button
variant="ghost"
class="px-1 h-6"
on:click={() => {
if (minimizable) {
minimized = true;
}
}}
>
<SquareArrowUpLeft size="18" />
</Button>
</div>
</div>
{/if}