Fix concat bug
This commit is contained in:
1 parent
597eced633
commit
bb17aecf7a
1 file changed
+1
-1
+1
-1
@@ -45,7 +45,7 @@ export default function (vm) {
|
||||
const backdropsMenu = function () {
|
||||
if (vm.runtime.targets[0] && vm.runtime.targets[0].sprite.costumes.length > 0) {
|
||||
return vm.runtime.targets[0].sprite.costumes.map(costume => [costume.name, costume.name])
|
||||
.concat(['next backdrop', '_nextBackdrop_'], ['previous backdrop', '_prevBackdrop_']);
|
||||
.concat([['next backdrop', '_nextBackdrop_'], ['previous backdrop', '_prevBackdrop_']]);
|
||||
}
|
||||
return [['', '']];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user