Fixed the dropdown for colors (#323)

This commit is contained in:
Richard Knoll 2018-02-12 21:23:16 -08:00 committed by Peli de Halleux
parent 2905814898
commit f3f33828f3

View File

@ -19,21 +19,21 @@ enum LightIntensityMode {
} }
const enum ColorSensorColor { const enum ColorSensorColor {
//% block="none" blockIdentity=sensors.color //% block="none"
None, None,
//% block="black" blockIdentity=sensors.color //% block="black"
Black, Black,
//% block="blue" blockIdentity=sensors.color //% block="blue"
Blue, Blue,
//% block="green" blockIdentity=sensors.color //% block="green"
Green, Green,
//% block="yellow" blockIdentity=sensors.color //% block="yellow"
Yellow, Yellow,
//% block="red" blockIdentity=sensors.color //% block="red"
Red, Red,
//% block="white" blockIdentity=sensors.color //% block="white"
White, White,
//% block="brown" blockIdentity=sensors.color //% block="brown"
Brown, Brown,
} }