From 22f160bfccbc682774a5a9b808a927b8342edbf0 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:07:39 +1000 Subject: [PATCH] fix(ui): unlink control adapter opaicty from global mask opacity --- .../src/features/regionalPrompts/store/regionalPromptsSlice.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/invokeai/frontend/web/src/features/regionalPrompts/store/regionalPromptsSlice.ts b/invokeai/frontend/web/src/features/regionalPrompts/store/regionalPromptsSlice.ts index 08e98ad953..d024c45ae3 100644 --- a/invokeai/frontend/web/src/features/regionalPrompts/store/regionalPromptsSlice.ts +++ b/invokeai/frontend/web/src/features/regionalPrompts/store/regionalPromptsSlice.ts @@ -389,9 +389,6 @@ export const regionalPromptsSlice = createSlice({ }, globalMaskLayerOpacityChanged: (state, action: PayloadAction) => { state.globalMaskLayerOpacity = action.payload; - state.layers.filter(isControlAdapterLayer).forEach((l) => { - l.opacity = action.payload; - }); }, isEnabledChanged: (state, action: PayloadAction) => { state.isEnabled = action.payload;