fix(ui): add button to delete inpaint mask

This commit is contained in:
psychedelicious 2024-08-21 19:01:34 +10:00
parent 757bd62ebe
commit dd1dcb5eba

View File

@ -1,5 +1,6 @@
import { Spacer } from '@invoke-ai/ui-library'; import { Spacer } from '@invoke-ai/ui-library';
import { CanvasEntityContainer } from 'features/controlLayers/components/common/CanvasEntityContainer'; import { CanvasEntityContainer } from 'features/controlLayers/components/common/CanvasEntityContainer';
import { CanvasEntityDeleteButton } from 'features/controlLayers/components/common/CanvasEntityDeleteButton';
import { CanvasEntityEnabledToggle } from 'features/controlLayers/components/common/CanvasEntityEnabledToggle'; import { CanvasEntityEnabledToggle } from 'features/controlLayers/components/common/CanvasEntityEnabledToggle';
import { CanvasEntityHeader } from 'features/controlLayers/components/common/CanvasEntityHeader'; import { CanvasEntityHeader } from 'features/controlLayers/components/common/CanvasEntityHeader';
import { CanvasEntityEditableTitle } from 'features/controlLayers/components/common/CanvasEntityTitleEdit'; import { CanvasEntityEditableTitle } from 'features/controlLayers/components/common/CanvasEntityTitleEdit';
@ -26,6 +27,7 @@ export const InpaintMask = memo(({ id }: Props) => {
<CanvasEntityEditableTitle /> <CanvasEntityEditableTitle />
<Spacer /> <Spacer />
<InpaintMaskMaskFillColorPicker /> <InpaintMaskMaskFillColorPicker />
<CanvasEntityDeleteButton />
</CanvasEntityHeader> </CanvasEntityHeader>
</CanvasEntityContainer> </CanvasEntityContainer>
</EntityMaskAdapterProviderGate> </EntityMaskAdapterProviderGate>