positioning systemled

This commit is contained in:
Peli de Halleux 2016-10-10 13:16:39 -07:00
parent ae6917c7b3
commit 7f2fd0dd09

View File

@ -478,7 +478,7 @@ namespace pxsim.visuals {
private lastFlashTime: number = 0;
public flashSystemLed() {
if (!this.systemLed)
this.systemLed = <SVGCircleElement>svg.child(this.g, "circle", { class: "sim-systemled", cx: 300, cy: 20, r: 5 })
this.systemLed = <SVGCircleElement>svg.child(this.g, "circle", { class: "sim-systemled", cx: 95, cy: 73, r: 5 })
let now = Date.now();
if (now - this.lastFlashTime > 150) {
this.lastFlashTime = now;