From a35386f24c020b219f1097acfa1e05e5ddc11f20 Mon Sep 17 00:00:00 2001 From: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com> Date: Thu, 18 Apr 2024 20:59:09 +0530 Subject: [PATCH] fix: IP Adapter Method having incorrect informational popover --- invokeai/frontend/web/public/locales/en.json | 4 ++++ .../src/common/components/InformationalPopover/constants.ts | 1 + .../components/parameters/ParamControlAdapterIPMethod.tsx | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index 87ea9de27d2..7ac20649b0e 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -1183,6 +1183,10 @@ "heading": "Resize Mode", "paragraphs": ["Method to fit Control Adapter's input image size to the output generation size."] }, + "ipAdapterMethod": { + "heading": "Method", + "paragraphs": ["Method by which to apply the current IP Adapter."] + }, "controlNetWeight": { "heading": "Weight", "paragraphs": [ diff --git a/invokeai/frontend/web/src/common/components/InformationalPopover/constants.ts b/invokeai/frontend/web/src/common/components/InformationalPopover/constants.ts index b5568165028..f973d98f1a5 100644 --- a/invokeai/frontend/web/src/common/components/InformationalPopover/constants.ts +++ b/invokeai/frontend/web/src/common/components/InformationalPopover/constants.ts @@ -24,6 +24,7 @@ export type Feature = | 'dynamicPromptsSeedBehaviour' | 'imageFit' | 'infillMethod' + | 'ipAdapterMethod' | 'lora' | 'loraWeight' | 'noiseUseCPU' diff --git a/invokeai/frontend/web/src/features/controlAdapters/components/parameters/ParamControlAdapterIPMethod.tsx b/invokeai/frontend/web/src/features/controlAdapters/components/parameters/ParamControlAdapterIPMethod.tsx index c7aaa9f26c8..7d531e21063 100644 --- a/invokeai/frontend/web/src/features/controlAdapters/components/parameters/ParamControlAdapterIPMethod.tsx +++ b/invokeai/frontend/web/src/features/controlAdapters/components/parameters/ParamControlAdapterIPMethod.tsx @@ -52,7 +52,7 @@ const ParamControlAdapterIPMethod = ({ id }: Props) => { return ( - + {t('controlnet.ipAdapterMethod')}