updated IR arts

This commit is contained in:
Peli de Halleux
2018-02-07 09:53:58 -08:00
parent 931ca40f49
commit 74ca722aac
4 changed files with 195 additions and 36 deletions

View File

@ -15,14 +15,14 @@ namespace pxsim.visuals {
getInnerView() {
this.group = svg.elt("g") as SVGGElement;
this.group.setAttribute("transform", `scale(0.25, 0.25)`)
this.group.setAttribute("transform", `scale(0.9, 0.9)`)
const xml = pxsim.visuals.normalizeXml(this.id, pxsim.visuals.REMOVE_SVG);
const content = svg.parseString(xml);
this.group.appendChild(content);
const btns: Map<InfraredRemoteButton> = {
"center": InfraredRemoteButton.CenterBeacon,
"centerbeacon": InfraredRemoteButton.CenterBeacon,
"topleft": InfraredRemoteButton.TopLeft,
"topright": InfraredRemoteButton.TopRight,
"bottomleft": InfraredRemoteButton.BottomLeft,
@ -47,11 +47,11 @@ namespace pxsim.visuals {
}
getInnerWidth() {
return 98.3;
return 80;
}
getInnerHeight() {
return 110.8;
return 123.773;
}
}
}