Skip to content

Commit 25b1fe4

Browse files
committed
fixed rotate default value error
1 parent 7011d48 commit 25b1fe4

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

main.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ namespace ScrolText {
232232

233233
/**
234234
* show a scroll string
235-
* @param s , eg: "Hello"
236-
* @param dir , eg: SCROLL_DIR.LEFT
237-
* @param rotate, eg: SCROLL_ROTATE
238-
* @param delay , eg: 100
235+
* @param s , eg: "Hello"
236+
* @param dir , eg: SCROLL_DIR.LEFT
237+
* @param rotate , eg: SCROLL_ROTATE.SR_0
238+
* @param delay , eg: 100
239239
*/
240240
//% blockId="SCROLL_SHOWSTRING" block="scroll string %s|dir %dir|rotate %rotate|delay %delay"
241241
//% weight=100 blockGap=8
@@ -315,10 +315,10 @@ namespace ScrolText {
315315

316316
/**
317317
* show a scroll number
318-
* @param n , eg: 123
319-
* @param dir , eg: SCROLL_DIR.LEFT
320-
* @param rotate, eg: SCROLL_ROTATE
321-
* @param delay , eg: 100
318+
* @param n , eg: 123
319+
* @param dir , eg: SCROLL_DIR.LEFT
320+
* @param rotate , eg: SCROLL_ROTATE.SR_90
321+
* @param delay , eg: 100
322322
*/
323323
//% blockId="SCROLL_SHOWNUMBER" block="scroll number %n|dir %dir|rotate %rotate|delay %delay"
324324
//% weight=100 blockGap=8

0 commit comments

Comments
 (0)