Skip to content
Snippets Groups Projects
Unverified Commit 6526445f authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #1123 from sjhuang26/issue-vm849-backdrop-menu

Add next/previous backdrop options in backdrop block
parents 90215844 f62ff0a2
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,8 @@ 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]);
return vm.runtime.targets[0].sprite.costumes.map(costume => [costume.name, costume.name])
.concat([['next backdrop', 'next backdrop'], ['previous backdrop', 'previous backdrop']]);
}
return [['', '']];
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment