fix(ui): render transformer over objects, fix issue w/ inpaint rect color

This commit is contained in:
psychedelicious 2024-08-06 13:45:47 +10:00
parent 2283186d3a
commit 674a3f462f
2 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ export class CanvasInpaintMask {
}), }),
}; };
this.transformer = new CanvasTransformer(this);
this.renderer = new CanvasObjectRenderer(this); this.renderer = new CanvasObjectRenderer(this);
this.transformer = new CanvasTransformer(this);
this.state = state; this.state = state;
this.maskOpacity = this.manager.stateApi.getMaskOpacity(); this.maskOpacity = this.manager.stateApi.getMaskOpacity();

View File

@ -45,8 +45,8 @@ export class CanvasLayer {
}), }),
}; };
this.transformer = new CanvasTransformer(this);
this.renderer = new CanvasObjectRenderer(this); this.renderer = new CanvasObjectRenderer(this);
this.transformer = new CanvasTransformer(this);
this.state = state; this.state = state;
} }