Fix issues related to stage size stored in projects, closes #307

#213 is better permanent solution
This commit is contained in:
Thomas Weber committed 2022-02-17 21:14:12 -06:00
1 parent ba18786191
commit 6dfdfd1381
1 file changed
+6
+6
View File
@@ -322,6 +322,12 @@ class Scaffolding extends EventTarget {
if (this.vm.runtime.cloudOptions) {
this.vm.runtime.cloudOptions.limit = Infinity;
}
// TODO: remove when https://github.com/TurboWarp/packager/issues/213 is fixed
this.vm.on('STAGE_SIZE_CHANGED', (width, height) => {
this.width = width;
this.height = height;
this.relayout();
});
this.cloudManager = new Cloud.CloudManager(this);