fix(ui): update compositing rect when fill changes

This commit is contained in:
psychedelicious 2024-08-16 21:52:39 +10:00
parent ab64078b76
commit febcc12ec9

View File

@ -98,6 +98,10 @@ export class CanvasMaskAdapter {
this.updateVisibility({ isEnabled });
}
if (this.isFirstRender || state.fill !== this.state.fill) {
this.renderer.updateCompositingRect(state.fill);
}
// this.transformer.syncInteractionState();
if (this.isFirstRender) {