Fix authoring of the mood field editor. (#347)
This commit is contained in:
parent
f16549d7cd
commit
54576ae77a
@ -41,10 +41,10 @@ namespace brick {
|
|||||||
* An image
|
* An image
|
||||||
* @param image the image
|
* @param image the image
|
||||||
*/
|
*/
|
||||||
//% blockId=mood_image_picker block="%image" shim=TD_ID
|
//% blockId=mood_image_picker block="%mood" shim=TD_ID
|
||||||
//% image.fieldEditor="images"
|
//% mood.fieldEditor="images"
|
||||||
//% image.fieldOptions.columns=4
|
//% mood.fieldOptions.columns=4
|
||||||
//% image.fieldOptions.width=400
|
//% mood.fieldOptions.width=400
|
||||||
//% group="Screen" weight=0 blockHidden=1
|
//% group="Screen" weight=0 blockHidden=1
|
||||||
export function __moodImagePicker(mood: Mood): Mood {
|
export function __moodImagePicker(mood: Mood): Mood {
|
||||||
return mood;
|
return mood;
|
||||||
|
Loading…
Reference in New Issue
Block a user