Skip to content

Commit

Permalink
Fix display conversion container mistake (#6349)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpopelyshev authored and bigtimebuddy committed Jan 22, 2020
1 parent 33b69d9 commit db684f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/display/src/Container.ts
Expand Up @@ -74,9 +74,6 @@ export class Container extends DisplayObject
*/
this.sortDirty = false;

// performance increase to avoid using call.. (10x faster)
this.containerUpdateTransform = this.updateTransform;

/**
* Fired when a DisplayObject is added to this Container.
*
Expand Down Expand Up @@ -683,3 +680,5 @@ export class Container extends DisplayObject
this._height = value;
}
}

Container.prototype.containerUpdateTransform = Container.prototype.updateTransform;

0 comments on commit db684f1

Please sign in to comment.