fix(ui): transform should ignore konva filters (e.g. transparency effect)

This commit is contained in:
psychedelicious
2024-09-02 12:42:36 +10:00
parent 56fc0395e2
commit 694e9f66bb

View File

@@ -559,7 +559,7 @@ export class CanvasEntityTransformer extends CanvasModuleBase {
this.log.debug('Applying transform');
this.$isProcessing.set(true);
const rect = this.getRelativeRect();
await this.parent.renderer.rasterize({ rect, replaceObjects: true });
await this.parent.renderer.rasterize({ rect, replaceObjects: true, attrs: { filters: [] } });
this.requestRectCalculation();
this.stopTransform();
};