We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0798226 commit 9cdada0Copy full SHA for 9cdada0
src/scaffolding/scaffolding.js
@@ -324,9 +324,11 @@ class Scaffolding extends EventTarget {
324
}
325
// TODO: remove when https://github.com/TurboWarp/packager/issues/213 is fixed
326
this.vm.on('STAGE_SIZE_CHANGED', (width, height) => {
327
- this.width = width;
328
- this.height = height;
329
- this.relayout();
+ if (this.width !== width || this.height !== height) {
+ this.width = width;
+ this.height = height;
330
+ this.relayout();
331
+ }
332
});
333
334
this.cloudManager = new Cloud.CloudManager(this);
0 commit comments