koreezgames / phaser3-ninepatch-plugin

Nine Patch plugin for Phaser3!
MIT License
71 stars 3 forks source link

resize to 0 throws error #3

Closed RollinSafary closed 6 years ago

RollinSafary commented 6 years ago
WebGLRenderer.js:1247 Uncaught Error: Framebuffer incomplete. Framebuffer status: Incomplete Attachment
    at WebGLRenderer.createFramebuffer (WebGLRenderer.js:1247)
    at e.resize (index.js:2)
    at Tween.onUpdate (TopbarView.ts:146)
    at Tween.updateTweenData (Tween.js:1243)
    at Tween.update (Tween.js:943)
    at TweenManager.update (TweenManager.js:352)
    at EventEmitter.emit (index.js:203)
    at Systems.step (Systems.js:276)
    at SceneManager.update (SceneManager.js:545)
    at Game.step (Game.js:434)
saqsun commented 6 years ago

will add minimum size limitations

saqsun commented 6 years ago

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.