mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
Merge pull request #546 from VladimirTechMan/master
Fix handling of the width and hight changes in the Stage class
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user