Update ImageEffector.ts

This commit is contained in:
syuilo 2025-10-30 18:18:49 +09:00
parent 8d2bc9b84f
commit 8aee50a7dd
1 changed files with 2 additions and 0 deletions

View File

@ -392,6 +392,8 @@ export class ImageEffector<IEX extends ReadonlyArray<ImageEffectorFx<any, any, a
}
public changeResolution(width: number, height: number) {
if (this.renderWidth === width && this.renderHeight === height) return;
this.renderWidth = width;
this.renderHeight = height;
if (this.canvas) {