enable loading draggability

in sb3.js, parseScratchObject()
This commit is contained in:
julescubtree authored and GitHub committed 2018-12-14 16:17:36 -08:00
1 parent dfd4735871
commit 040aeaa44e
1 file changed
+3
+3
View File
@@ -1025,6 +1025,9 @@ const parseScratchObject = function (object, runtime, extensions, zip) {
// This will be deleted after we are done parsing and ordering the targets list.
target.targetPaneOrder = object.targetPaneOrder;
}
if (object.hasOwnProperty('draggable')) {
target.draggable = object.draggable;
}
Promise.all(costumePromises).then(costumes => {
sprite.costumes = costumes;
});