Fix a bug that was making the canvas not displaying using preload

This commit is contained in:
Gaëtan Renaudeau 2015-09-21 21:20:55 +02:00
parent b9fbf6fa6d
commit 50d8923219

View File

@ -477,6 +477,7 @@ class GLCanvas extends Component {
handleDraw () {
if (!this._needsDraw) return;
this._needsDraw = false;
if (this._preloading) return;
this.draw();
}