diff --git a/packages/graphics/src/traits/rastered.js b/packages/graphics/src/traits/rastered.js index 9417509..6bf3cbe 100644 --- a/packages/graphics/src/traits/rastered.js +++ b/packages/graphics/src/traits/rastered.js @@ -72,6 +72,11 @@ export default () => class Rastered extends Trait { }, traitAdded: () => { + if (this.#container) { + this.#container.alpha = this.entity.opacity; + this.#container.rotation = this.entity.rotation; + this.#container.scale = this.entity.visibleScale; + } this.synchronizePosition(); this.onZIndexChanged(this.entity.zIndex); },