auto adjusting bar graph + debouncing sending data over serial

This commit is contained in:
Peli de Halleux
2016-04-21 23:44:22 -07:00
parent 5a75483811
commit 5232be58ce
2 changed files with 29 additions and 6 deletions

View File

@ -219,7 +219,7 @@ namespace pxsim.micro_bit {
rx:5, ry:5,
fill:`url(#${gid})`
});
this.thermometerText = Svg.child(this.g, "text", { class:'sim-text', x:60, y:130}) as SVGTextElement;
this.thermometerText = Svg.child(this.g, "text", { class:'sim-text', x:58, y:130}) as SVGTextElement;
this.updateTheme();
let pt = this.element.createSVGPoint();