fix run inpainting disable logic
This commit is contained in:
parent
e71725bee0
commit
2611d2fb44
@ -1471,8 +1471,9 @@ export default function Editor() {
|
||||
</svg>
|
||||
}
|
||||
disabled={
|
||||
!interactiveSegMask &&
|
||||
(!hadDrawSomething() || isInpainting || isInteractiveSeg)
|
||||
isInpainting ||
|
||||
isInteractiveSeg ||
|
||||
(!hadDrawSomething() && interactiveSegMask === null)
|
||||
}
|
||||
onClick={() => {
|
||||
// ensured by disabled
|
||||
|
Loading…
Reference in New Issue
Block a user