reify shadows if no input block present

This commit is contained in:
Loren Norman 2025-07-29 15:22:02 -04:00
parent 6ad85110eb
commit e9f3f8c5c7

View file

@ -149,7 +149,14 @@ const
}
} else if(shadow) {
return shadowToInput(shadow)
const shadowJson = shadowToInput(shadow)
return {
// also copy the shadow into a real block
// TODO: nested shadow blocks
block: shadowJson.shadow,
...shadowJson
}
}
},