From 503855002c2579bd0ac23b7f1f1c40ad53245d05 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Thu, 17 Mar 2016 21:53:56 -0700 Subject: [PATCH] Fix incorrect shim --- libs/microbit/images.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/microbit/images.ts b/libs/microbit/images.ts index 62a01d47..6b851ecd 100644 --- a/libs/microbit/images.ts +++ b/libs/microbit/images.ts @@ -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; } } -} \ No newline at end of file +}