fix: apply visible scale to container

This commit is contained in:
cha0s 2019-05-02 23:32:56 -05:00
parent ed33d9c90d
commit 8a34bf2db8

View File

@ -159,6 +159,9 @@ export class Visible extends decorate(Trait) {
visibleScaleChanged: () => {
const scale = this.entity.visibleScale;
this._visibleScale = [scale.get(0), scale.get(1)];
if (this._container) {
this._container.scale = this._visibleScale;
}
},
zIndexChanged: () => {