fix: re-render the scene when canvas changes (#55)

This commit is contained in:
Jacob
2022-07-01 15:27:32 +02:00
committed by GitHub
parent 3f92867b5c
commit 191f96da14

View File

@@ -57,6 +57,7 @@ export class Project {
if (this.canvas) {
this.canvas.width = this.width * this._resolutionScale;
this.canvas.height = this.height * this._resolutionScale;
this.render();
}
}