Merge pull request #546 from VladimirTechMan/master

Fix handling of the width and hight changes in the Stage class
This commit is contained in:
Anton Lavrenov 2019-01-19 21:31:51 -05:00 committed by GitHub
commit d960cf5c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ export class Stage extends Container {
this._buildDOM();
this._bindContentEvents();
stages.push(this);
this.on('widthChange heightChange', this._buildDOM);
this.on('widthChange heightChange', this._resizeDOM);
}
_validateAdd(child) {