Merge pull request #1989 from Kenny2github/develop

Add random backdrop menu option
This commit is contained in:
kchadha authored and GitHub committed 2018-05-09 10:14:32 -04:00
commit f254e67fae
1 file changed
+3 -1
+3 -1
View File
@@ -64,7 +64,9 @@ export default function (vm) {
const backdropsMenu = function () {
if (vm.runtime.targets[0] && vm.runtime.targets[0].getCostumes().length > 0) {
return vm.runtime.targets[0].getCostumes().map(costume => [costume.name, costume.name])
.concat([['next backdrop', 'next backdrop'], ['previous backdrop', 'previous backdrop']]);
.concat([['next backdrop', 'next backdrop'],
['previous backdrop', 'previous backdrop'],
['random backdrop', 'random backdrop']]);
}
return [['', '']];
};