Merge branch 'master' of https://github.com/microsoft/pxt-ev3
This commit is contained in:
commit
7a37dec196
BIN
docs/static/icons/android-chrome-192x192.png
vendored
BIN
docs/static/icons/android-chrome-192x192.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 17 KiB |
@ -36,7 +36,10 @@ namespace pxsim.visuals {
|
||||
|
||||
private updateSensorLightVisual(color: string) {
|
||||
const sensorHole = this.content.getElementById(this.normalizeId(ColorSensorView.sensor_hole_id)) as SVGCircleElement;
|
||||
sensorHole.style.fill = color;
|
||||
sensorHole.style.stroke = color;
|
||||
if (color != '#ffffff') {
|
||||
sensorHole.style.strokeWidth = '2px';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user