enable loading draggability
in sb3.js, parseScratchObject()
This commit is contained in:
1 parent
dfd4735871
commit
040aeaa44e
1 file changed
+3
@@ -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;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user