moving parts .svg under simulator

This commit is contained in:
Peli de Halleux
2016-09-01 08:57:20 -07:00
parent e2e4c68f85
commit d890c05229
5 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ namespace pxsim.visuals {
let h = NP_PART_HEIGHT;
let img = <SVGImageElement>svg.elt("image");
svg.hydrate(img, {class: "sim-neopixel-strip", x: l, y: t, width: w, height: h,
href: `/static/hardware/${NEOPIXEL_PART_IMG}`});
href: `/parts/${NEOPIXEL_PART_IMG}`});
return {el: img, x: l, y: t, w: w, h: h};
}
export class NeoPixel implements SVGAndSize<SVGCircleElement> {