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