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 {
//% block="none" blockIdentity=sensors.color
//% block="none"
None,
//% block="black" blockIdentity=sensors.color
//% block="black"
Black,
//% block="blue" blockIdentity=sensors.color
//% block="blue"
Blue,
//% block="green" blockIdentity=sensors.color
//% block="green"
Green,
//% block="yellow" blockIdentity=sensors.color
//% block="yellow"
Yellow,
//% block="red" blockIdentity=sensors.color
//% block="red"
Red,
//% block="white" blockIdentity=sensors.color
//% block="white"
White,
//% block="brown" blockIdentity=sensors.color
//% block="brown"
Brown,
}