fix: apply visible scale to container
This commit is contained in:
parent
ed33d9c90d
commit
8a34bf2db8
|
@ -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: () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user