mirror of
https://github.com/motion-canvas/motion-canvas.git
synced 2026-01-11 14:57:56 -05:00
fix: re-render the scene when canvas changes (#55)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user