diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py index 0593543cb76fe6438bddc5613ed0b1d5c446107d..073dd67ba033e0760b7dd5b5957b3c90a305ecc7 100644 --- a/flatland/utils/graphics_pil.py +++ b/flatland/utils/graphics_pil.py @@ -394,7 +394,7 @@ class PILSVG(PILGL): print("Illegal target rail:", row, col, format(binTrans, "#018b")[2:]) if isSelected: - svgBG = self.pilFromSvgFile("./svg/Selected_Agent.svg") + svgBG = self.pilFromSvgFile("./svg/Selected_Target.svg") self.clear_layer(3,0) self.drawImageRC(svgBG,(row,col),layer=3) diff --git a/svg/Selected_Target.svg b/svg/Selected_Target.svg new file mode 100644 index 0000000000000000000000000000000000000000..a848696ac57932b1dd7b85547bdc92b3b2084f1c --- /dev/null +++ b/svg/Selected_Target.svg @@ -0,0 +1,76 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Generator: Adobe Illustrator 23.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + version="1.1" + id="Ebene_1" + x="0px" + y="0px" + viewBox="0 0 240 240" + style="enable-background:new 0 0 240 240;" + xml:space="preserve" + sodipodi:docname="Selected_Target.svg" + inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata + id="metadata11"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs9" /><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1920" + inkscape:window-height="1137" + id="namedview7" + showgrid="false" + inkscape:zoom="2.7812867" + inkscape:cx="126.94263" + inkscape:cy="161.549" + inkscape:window-x="-8" + inkscape:window-y="-8" + inkscape:window-maximized="1" + inkscape:current-layer="Ebene_1" /> +<style + type="text/css" + id="style2"> + .st0{fill:#9CCB89;} +</style> + +<rect + id="rect60" + width="2.5168207" + height="220.76114" + x="10.067283" + y="9.1715822" + style="stroke-width:1.05466521;fill:#999999" /><rect + id="rect60-8" + width="2.5168207" + height="217.88478" + x="228.49136" + y="10.250217" + style="stroke-width:1.04777193;fill:#999999" /><rect + id="rect60-8-5" + width="2.5168207" + height="220.04205" + x="-11.868174" + y="10.786373" + transform="rotate(-90)" + style="stroke-width:1.05294621;fill:#999999" /><rect + id="rect60-8-5-1" + width="2.5168207" + height="220.40158" + x="-230.11249" + y="10.786374" + transform="rotate(-90)" + style="stroke-width:1.05380607;fill:#999999" /></svg> \ No newline at end of file