Fix pattern enum decompilation and setSpeed when no speed is set.

This commit is contained in:
Sam El-Husseini
2017-08-09 10:02:58 -07:00
parent c0e2252157
commit a3f56f4c9a
5 changed files with 45 additions and 4 deletions

View File

@ -94,6 +94,7 @@ namespace screen {
*/
//% blockId=screen_drawText block="print %text| at x: %x| y: %y"
//% weight=99 group="Screen" blockNamespace=output inlineInputMode="inline"
//% x.min=0 x.max=178 y.min=0 y.max=128
export function drawText(text: string, x: number, y: number, mode = Draw.Normal) {
x |= 0
y |= 0