diff --git a/js/ui/animation.js b/js/ui/animation.js index 2344851ad..fa8cad932 100644 --- a/js/ui/animation.js +++ b/js/ui/animation.js @@ -15,8 +15,7 @@ class Animation extends St.Bin { const themeContext = St.ThemeContext.get_for_stage(global.stage); super._init({ - width: width * themeContext.scale_factor, - height: height * themeContext.scale_factor, + style: `width: ${width}px; height: ${height}px;`, }); this.connect('destroy', this._onDestroy.bind(this));