From 3c06c95f396b6e911076bc3291d5855ed01b5caa Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Sun, 26 Apr 2026 20:18:30 -0700 Subject: cleanup and ready for launch --- source/library/components/TabBar.svelte | 122 +++++++++++++++++++------------- 1 file changed, 73 insertions(+), 49 deletions(-) (limited to 'source/library/components/TabBar.svelte') diff --git a/source/library/components/TabBar.svelte b/source/library/components/TabBar.svelte index 0bfec02..547fa44 100644 --- a/source/library/components/TabBar.svelte +++ b/source/library/components/TabBar.svelte @@ -1,5 +1,8 @@ @@ -145,8 +169,7 @@ } }} role="tab" - tabindex="0" - > + tabindex="0"> {#if editingId === tab.id} e.stopPropagation()} onkeydown={onKeydown} - type="text" - /> + type="text"/> {:else} {tab.title} {/if} + {#if extras}{@render extras({ tab })}{/if} + + onclick={(e) => handleClose(e, tab.id)}>× {/each} + -- cgit v1.2.3