mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Add default values for obscured shadows
This commit is contained in:
parent
8b18ff7ae9
commit
651d46fff0
1 changed files with 8 additions and 0 deletions
|
@ -533,6 +533,14 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension
|
||||||
if (shadowObscured) {
|
if (shadowObscured) {
|
||||||
fieldValue = '';
|
fieldValue = '';
|
||||||
}
|
}
|
||||||
|
} else if (expectedArg.inputOp === 'music.menu.DRUM') {
|
||||||
|
if (shadowObscured) {
|
||||||
|
fieldValue = 1;
|
||||||
|
}
|
||||||
|
} else if (expectedArg.inputOp === 'music.menu.INSTRUMENT') {
|
||||||
|
if (shadowObscured) {
|
||||||
|
fieldValue = 1;
|
||||||
|
}
|
||||||
} else if (shadowObscured) {
|
} else if (shadowObscured) {
|
||||||
// Filled drop-down menu.
|
// Filled drop-down menu.
|
||||||
fieldValue = '';
|
fieldValue = '';
|
||||||
|
|
Loading…
Reference in a new issue