Fixed the dropdown for colors (#323)
This commit is contained in:
parent
2905814898
commit
f3f33828f3
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user