mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): unlink control adapter opaicty from global mask opacity
This commit is contained in:
parent
fa637b5c59
commit
22f160bfcc
@ -389,9 +389,6 @@ export const regionalPromptsSlice = createSlice({
|
||||
},
|
||||
globalMaskLayerOpacityChanged: (state, action: PayloadAction<number>) => {
|
||||
state.globalMaskLayerOpacity = action.payload;
|
||||
state.layers.filter(isControlAdapterLayer).forEach((l) => {
|
||||
l.opacity = action.payload;
|
||||
});
|
||||
},
|
||||
isEnabledChanged: (state, action: PayloadAction<boolean>) => {
|
||||
state.isEnabled = action.payload;
|
||||
|
Loading…
Reference in New Issue
Block a user