Fix incorrect shim

This commit is contained in:
Michal Moskal 2016-03-17 21:53:56 -07:00
parent 36d0ad36b9
commit 503855002c

View File

@ -32,7 +32,7 @@ namespace images {
* @param frameOffset x offset moved on each animation step, eg: 5, 1, -1
* @param interval time between each animation step in milli seconds, eg: 200
*/
//% help=functions/show-image weight=79 shim=micro_bit::showImage async
//% help=functions/show-image weight=79 shim=micro_bit::scrollImage async
//% blockId=device_scroll_image block="scroll image %sprite|with offset %frameoffset|and interval (ms) %delay" blockGap=8
public scrollImage(frameOffset: number, interval : number = 200) {
}
@ -47,4 +47,4 @@ namespace images {
return 0;
}
}
}
}