pxt-common-packages 10.3.23 → 10.3.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  "image.create|block": "create image width %width height %height",
15
15
  "image.screenImage|block": "screen",
16
16
  "images._dialogImage|block": "%img",
17
- "images._image|block": "%image",
17
+ "images._image|block": "$image",
18
18
  "images._screenImage|block": "%img",
19
19
  "images._spriteImage|block": "%img",
20
20
  "images._tileImage|block": "%img",
@@ -83,10 +83,11 @@ namespace images {
83
83
  * An image
84
84
  * @param image the image
85
85
  */
86
- //% blockId=image_picker block="%image" shim=TD_ID
87
- //% image.fieldEditor="images"
88
- //% image.fieldOptions.columns=6
89
- //% image.fieldOptions.width=600
86
+ //% blockId=image_picker block="$image" shim=TD_ID
87
+ //% image.fieldEditor="sprite"
88
+ //% image.fieldOptions.taggedTemplate="img"
89
+ //% image.fieldOptions.decompileIndirectFixedInstances="true"
90
+ //% image.fieldOptions.decompileArgumentAsString="true"
90
91
  //% weight=0 group="Create"
91
92
  export function _image(image: Image): Image {
92
93
  return image;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-common-packages",
3
- "version": "10.3.23",
3
+ "version": "10.3.24",
4
4
  "description": "Microsoft MakeCode (PXT) common packages",
5
5
  "keywords": [
6
6
  "MakeCode",