Fix block display for examples in 'inBackground' (#2018)
This commit is contained in:
parent
f3af5d800e
commit
c3c2545607
@ -25,7 +25,7 @@ changes what is stored there.
|
||||
let num = 0
|
||||
control.inBackground(() => {
|
||||
while (true) {
|
||||
basic.showNumber(num, 150)
|
||||
basic.showNumber(num)
|
||||
basic.pause(100)
|
||||
}
|
||||
})
|
||||
@ -40,7 +40,7 @@ with a ``forever`` loop.
|
||||
```blocks
|
||||
let num = 0
|
||||
basic.forever(() => {
|
||||
basic.showNumber(num, 150)
|
||||
basic.showNumber(num)
|
||||
})
|
||||
input.onButtonPressed(Button.A, () => {
|
||||
num++;
|
||||
|
Loading…
Reference in New Issue
Block a user