diff --git a/packages/graphics/stage.js b/packages/graphics/stage.js index 7597636..c175714 100644 --- a/packages/graphics/stage.js +++ b/packages/graphics/stage.js @@ -146,6 +146,7 @@ export class Stage extends Container { // Precalc the transformation ratio and apply it to the UI layer. this._transformRatio = this.size[0] / this.element.clientWidth; this.ui.style.transform = `scale(${1 / this._transformRatio})`; + this.emit('displaySizeChanged', this.displaySize); } render() {