add reverse mask
This commit is contained in:
@@ -839,6 +839,17 @@ const DiffusionOptions = () => {
|
||||
Shrink
|
||||
</div>
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
variant="outline"
|
||||
className="p-1 h-8"
|
||||
onClick={() => adjustMask("reverse")}
|
||||
disabled={isProcessing}
|
||||
>
|
||||
<div className="flex items-center gap-1 select-none">
|
||||
Reverse
|
||||
</div>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<Button
|
||||
|
||||
@@ -126,4 +126,4 @@ export enum PowerPaintTask {
|
||||
outpainting = "outpainting",
|
||||
}
|
||||
|
||||
export type AdjustMaskOperate = "expand" | "shrink"
|
||||
export type AdjustMaskOperate = "expand" | "shrink" | "reverse"
|
||||
|
||||
Reference in New Issue
Block a user