mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): update compositing rect when fill changes
This commit is contained in:
parent
2950775fa7
commit
f1de95349c
@ -98,6 +98,10 @@ export class CanvasMaskAdapter {
|
|||||||
this.updateVisibility({ isEnabled });
|
this.updateVisibility({ isEnabled });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.isFirstRender || state.fill !== this.state.fill) {
|
||||||
|
this.renderer.updateCompositingRect(state.fill);
|
||||||
|
}
|
||||||
|
|
||||||
// this.transformer.syncInteractionState();
|
// this.transformer.syncInteractionState();
|
||||||
|
|
||||||
if (this.isFirstRender) {
|
if (this.isFirstRender) {
|
||||||
|
Loading…
Reference in New Issue
Block a user