diff --git a/renderers/Context.js b/renderers/Context.js index a6633c8b..2c26b61c 100644 --- a/renderers/Context.js +++ b/renderers/Context.js @@ -220,8 +220,8 @@ Context.prototype._initWebGLRenderer = function _initWebGLRenderer() { */ Context.prototype.getRootSize = function getRootSize() { return [ - this._rootEl.offsetWidth, - this._rootEl.offsetHeight + this._domRendererRootEl.offsetWidth, + this._domRendererRootEl.offsetHeight ]; };