From b0c54e84e611c66998124eccbec3eefd2e4bc8ea Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Tue, 2 Jan 2018 22:29:12 -0800 Subject: [PATCH] Update Color sensor control (colorGrid) to match spec --- sim/visuals/controls/colorGrid.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/visuals/controls/colorGrid.ts b/sim/visuals/controls/colorGrid.ts index df89cfc8..46c75347 100644 --- a/sim/visuals/controls/colorGrid.ts +++ b/sim/visuals/controls/colorGrid.ts @@ -7,7 +7,7 @@ namespace pxsim.visuals { getInnerView() { this.group = svg.elt("g") as SVGGElement; - this.group.setAttribute("transform", `translate(1.02, 1.5) scale(0.8)`) + this.group.setAttribute("transform", `translate(2, 2.5) scale(0.6)`) const colorIds = ['red', 'yellow', 'blue', 'green', undefined, 'grey']; const colors = ['#f12a21', '#ffd01b', '#006db3', '#00934b', undefined, '#6c2d00'];