From f3f33828f356249f1264c5534378d267a12d7fbf Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Mon, 12 Feb 2018 21:23:16 -0800 Subject: [PATCH] Fixed the dropdown for colors (#323) --- libs/color-sensor/color.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/color-sensor/color.ts b/libs/color-sensor/color.ts index da166e8c..1431a131 100644 --- a/libs/color-sensor/color.ts +++ b/libs/color-sensor/color.ts @@ -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, }