From 77003b30f2dcb96fa835e084d24f87f59b735427 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 28 Nov 2016 11:38:37 -0800 Subject: [PATCH] fixed scroll-image reference --- libs/core/images.cpp | 2 +- libs/core/shims.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/images.cpp b/libs/core/images.cpp index 40cb014b..d1e8bb28 100644 --- a/libs/core/images.cpp +++ b/libs/core/images.cpp @@ -64,7 +64,7 @@ namespace ImageMethods { * @param frameOffset x offset moved on each animation step, eg: 1, 2, 5 * @param interval time between each animation step in milli seconds, eg: 200 */ - //% help=images/show-image weight=79 async blockNamespace=images + //% help=images/scroll-image weight=79 async blockNamespace=images //% blockId=device_scroll_image block="scroll image %sprite|with offset %frameoffset|and interval (ms) %delay" blockGap=8 //% parts="ledmatrix" void scrollImage(Image id, int frameOffset, int interval) { diff --git a/libs/core/shims.d.ts b/libs/core/shims.d.ts index 0f2e6038..8ef6489b 100644 --- a/libs/core/shims.d.ts +++ b/libs/core/shims.d.ts @@ -56,7 +56,7 @@ declare interface Image { * @param frameOffset x offset moved on each animation step, eg: 1, 2, 5 * @param interval time between each animation step in milli seconds, eg: 200 */ - //% help=images/show-image weight=79 async blockNamespace=images + //% help=images/scroll-image weight=79 async blockNamespace=images //% blockId=device_scroll_image block="scroll image %sprite|with offset %frameoffset|and interval (ms) %delay" blockGap=8 //% parts="ledmatrix" shim=ImageMethods::scrollImage scrollImage(frameOffset: number, interval: number): void;