Fix issues related to stage size stored in projects, closes #307
#213 is better permanent solution
This commit is contained in:
1 parent
ba18786191
commit
6dfdfd1381
1 file changed
+6
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user