diff options
| author | jmoenig <jens@moenig.org> | 2013-09-17 17:25:42 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-09-17 17:25:42 +0200 |
| commit | c0a0c1f4a7a9f3cfd055288817530cf7c46bb26d (patch) | |
| tree | 785cf1d7c7b51cce6453c7fec14d5742bf51b2b2 /store.js | |
| parent | 0947fbb80e6d4c57c63c588354e101a35bec087a (diff) | |
| download | snap-c0a0c1f4a7a9f3cfd055288817530cf7c46bb26d.tar.gz snap-c0a0c1f4a7a9f3cfd055288817530cf7c46bb26d.zip | |
fixed part of #154 - prevent costumes from being drawn while they are loading
prevents an occasional DOM error saying "an attempt was made to use an
object that is not, or is no longer, usable" when loading a project
that has costumes
Diffstat (limited to 'store.js')
| -rw-r--r-- | store.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -61,7 +61,7 @@ SyntaxElementMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.store = '2013-August-10'; +modules.store = '2013-September-17'; // XML_Serializer /////////////////////////////////////////////////////// @@ -673,6 +673,7 @@ SnapSerializer.prototype.loadCostumes = function (object, model) { } else { costume.loaded = function () { object.wearCostume(costume); + this.loaded = true; }; } } |
