This commit is contained in:
Peli de Halleux
2017-11-16 22:52:29 -08:00
parent fb743dea74
commit 988a2b638b
2 changed files with 4 additions and 3 deletions

View File

@ -137,7 +137,7 @@ namespace brick {
* Shows an image on screen
* @param image image to draw
*/
//% blockId=screen_show_image block="show image %image=scren_image_picker"
//% blockId=screen_show_image block="`icons.brickDisplay` show image %image=scren_image_picker"
//% weight=95 group="Screen" blockGap=8
export function showImage(image: Image, delay: number = 400) {
if (!image) return;
@ -152,7 +152,7 @@ namespace brick {
*/
//% blockId=scren_image_picker block="%image" shim=TD_ID
//% image.fieldEditor="imagedropdown"
//% image.fieldOptions.columns=8
//% image.fieldOptions.columns=6
//% block.fieldOptions.hasSearchBar=true
//% group="Screen" weight=0 blockHidden=1
export function _imagePicker(image: Image): Image {