Fix brick color not changing to the color red. Fixes 453 (#456)
This commit is contained in:
parent
4be657e84d
commit
d837a515dc
@ -245,7 +245,7 @@ namespace control {
|
|||||||
|
|
||||||
namespace brick {
|
namespace brick {
|
||||||
// the brick starts with the red color
|
// the brick starts with the red color
|
||||||
let currPattern: StatusLight = StatusLight.Red;
|
let currPattern: StatusLight = StatusLight.Off;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set lights.
|
* Set lights.
|
||||||
|
@ -14,7 +14,6 @@ namespace pxsim.visuals {
|
|||||||
private currentCanvasY = 128;
|
private currentCanvasY = 128;
|
||||||
|
|
||||||
private static LIGHT_BLACK_COLOR = '#6a6a6a';
|
private static LIGHT_BLACK_COLOR = '#6a6a6a';
|
||||||
private static LIGHT_RED_COLOR = '#6a6a6a';
|
|
||||||
|
|
||||||
constructor(port: number) {
|
constructor(port: number) {
|
||||||
super(EV3_SVG, "board", NodeType.Brick, port);
|
super(EV3_SVG, "board", NodeType.Brick, port);
|
||||||
|
Loading…
Reference in New Issue
Block a user