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;