Fix block display for examples in 'inBackground' (#2018)

This commit is contained in:
Galen Nickel 2019-04-22 17:38:58 -07:00 committed by GitHub
parent f3af5d800e
commit c3c2545607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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++;