diff --git a/frontend/src/lib/components/common/button/AnimatedButton.svelte b/frontend/src/lib/components/common/button/AnimatedButton.svelte index ed7fa30a4b..d05f668b82 100644 --- a/frontend/src/lib/components/common/button/AnimatedButton.svelte +++ b/frontend/src/lib/components/common/button/AnimatedButton.svelte @@ -11,7 +11,9 @@ let clientWidth = 0 let clientHeight = 0 - $: circleRadius = Math.sqrt(clientWidth * clientWidth + clientHeight * clientHeight) / 2 + $: circleRadius = Math.ceil( + Math.sqrt(clientWidth * clientWidth + clientHeight * clientHeight) / 2 + )
{#if id && $propPickerConfig && pickableIds && Object.keys(pickableIds).includes(id)} -
+
{#if propPickerConfig && Object.keys(inputJson).length > 0} -
+
{/if} diff --git a/frontend/src/lib/components/flows/propPicker/FlowPropPicker.svelte b/frontend/src/lib/components/flows/propPicker/FlowPropPicker.svelte index f2dfc5dbdf..435896e9f9 100644 --- a/frontend/src/lib/components/flows/propPicker/FlowPropPicker.svelte +++ b/frontend/src/lib/components/flows/propPicker/FlowPropPicker.svelte @@ -25,8 +25,9 @@ > @@ -34,7 +35,7 @@ node outputs