set-rgbraw-mode-circle-color

This commit is contained in:
Dmitriy Antipov 2023-05-06 13:45:08 +03:00
parent dd18007035
commit 101d24aeff

View File

@ -28,6 +28,7 @@ namespace pxsim.visuals {
switch (mode) { switch (mode) {
case ColorSensorMode.Colors: this.updateSensorLightVisual('#0062DD'); return; // blue case ColorSensorMode.Colors: this.updateSensorLightVisual('#0062DD'); return; // blue
case ColorSensorMode.RgbRaw: this.updateSensorLightVisual('#0062DD'); return; // blue
case ColorSensorMode.Reflected: this.updateSensorLightVisual('#F86262'); return; // red case ColorSensorMode.Reflected: this.updateSensorLightVisual('#F86262'); return; // red
case ColorSensorMode.RefRaw: this.updateSensorLightVisual('#F86262'); return; // red case ColorSensorMode.RefRaw: this.updateSensorLightVisual('#F86262'); return; // red
case ColorSensorMode.Ambient: this.updateSensorLightVisual('#67C3E2'); return; // light blue case ColorSensorMode.Ambient: this.updateSensorLightVisual('#67C3E2'); return; // light blue