Fix brick color not changing to the color red. Fixes 453 (#456)

This commit is contained in:
Sam El-Husseini 2018-04-08 02:35:02 -07:00 committed by Peli de Halleux
parent 4be657e84d
commit d837a515dc
2 changed files with 1 additions and 2 deletions

View File

@ -245,7 +245,7 @@ namespace control {
namespace brick {
// the brick starts with the red color
let currPattern: StatusLight = StatusLight.Red;
let currPattern: StatusLight = StatusLight.Off;
/**
* Set lights.

View File

@ -14,7 +14,6 @@ namespace pxsim.visuals {
private currentCanvasY = 128;
private static LIGHT_BLACK_COLOR = '#6a6a6a';
private static LIGHT_RED_COLOR = '#6a6a6a';
constructor(port: number) {
super(EV3_SVG, "board", NodeType.Brick, port);