diff --git a/packages/graphics/src/renderer.js b/packages/graphics/src/renderer.js index 3bac222..5375066 100644 --- a/packages/graphics/src/renderer.js +++ b/packages/graphics/src/renderer.js @@ -40,6 +40,10 @@ export default class Renderer { } } + resize(size) { + this.renderer.resize(size[0], size[1]); + } + get size() { return [this.width, this.height]; }