diff --git a/invokeai/frontend/web/src/features/regionalPrompts/components/LayerComponent.tsx b/invokeai/frontend/web/src/features/regionalPrompts/components/LayerComponent.tsx index e0fda9cd27..0446a97ad6 100644 --- a/invokeai/frontend/web/src/features/regionalPrompts/components/LayerComponent.tsx +++ b/invokeai/frontend/web/src/features/regionalPrompts/components/LayerComponent.tsx @@ -100,10 +100,6 @@ export const LayerComponent: React.FC = ({ id }) => { groupRef.current.cache(); }, [layer.objects, layer.color, layer.isVisible]); - if (!layer.isVisible) { - return null; - } - return ( <> = ({ id }) => { name={REGIONAL_PROMPT_LAYER_NAME} onDragMove={onDragMove} dragBoundFunc={dragBoundFunc} + visible={layer.isVisible} draggable >