This commit is contained in:
Timothy Jaeryang Baek committed 2026-07-17 04:54:44 -04:00
1 parent e5e2cd7876
commit 3316ba76aa
2 files changed
+3 -9

No files matched your search

+2 -6
View File
@@ -570,7 +570,7 @@
</Tooltip> </Tooltip>
</div> </div>
<div class="ml-2 flex shrink-0 flex-row items-center self-center"> <div class="ml-2 flex shrink-0 flex-row items-center gap-1.5 self-center">
{#if shiftKey} {#if shiftKey}
<Tooltip content={$i18n.t('Delete')}> <Tooltip content={$i18n.t('Delete')}>
<button <button
@@ -639,7 +639,6 @@
</button> </button>
</Tooltip> </Tooltip>
<div class="ml-0.5 flex shrink-0 flex-row items-center gap-1.5 self-center">
<FunctionMenu <FunctionMenu
{func} {func}
show={openFunctionMenuId === func.id} show={openFunctionMenuId === func.id}
@@ -690,9 +689,7 @@
e.preventDefault(); e.preventDefault();
}} }}
> >
<Tooltip <Tooltip content={func.is_active ? $i18n.t('Enabled') : $i18n.t('Disabled')}>
content={func.is_active ? $i18n.t('Enabled') : $i18n.t('Disabled')}
>
<Switch <Switch
bind:state={func.is_active} bind:state={func.is_active}
on:change={async () => { on:change={async () => {
@@ -710,7 +707,6 @@
/> />
</Tooltip> </Tooltip>
</button> </button>
</div>
{/if} {/if}
</div> </div>
</div> </div>
+1 -3
View File
@@ -494,7 +494,7 @@
</div> </div>
{#if tool.write_access} {#if tool.write_access}
<div class="ml-2 flex shrink-0 flex-row items-center self-center"> <div class="ml-2 flex shrink-0 flex-row items-center gap-1.5 self-center">
{#if shiftKey} {#if shiftKey}
<Tooltip content={$i18n.t('Delete')}> <Tooltip content={$i18n.t('Delete')}>
<button <button
@@ -563,7 +563,6 @@
</button> </button>
</Tooltip> </Tooltip>
<div class="ml-0.5 flex shrink-0 flex-row items-center self-center">
<ToolMenu <ToolMenu
show={openToolMenuId === tool.id} show={openToolMenuId === tool.id}
editHandler={() => { editHandler={() => {
@@ -599,7 +598,6 @@
<EllipsisHorizontal className="size-4" /> <EllipsisHorizontal className="size-4" />
</button> </button>
</ToolMenu> </ToolMenu>
</div>
{/if} {/if}
</div> </div>
{/if} {/if}