Add a dist attribute to XML <body> tags so planet icons won't collide

This commit is contained in:
2014-07-13 22:44:15 +02:00
parent 1341628c24
commit 69233be35e
3 changed files with 58 additions and 4 deletions

View File

@@ -567,7 +567,7 @@
</line>
<use>
<xsl:attribute name="xlink:href"><xsl:value-of select="concat('#', $planet_base, '_tmpl')"/></xsl:attribute>
<xsl:attribute name="transform"><xsl:value-of select="concat('translate(330,-15) rotate(', @degree - $asc_rotate ,',15,15)')"/></xsl:attribute>
<xsl:attribute name="transform"><xsl:value-of select="concat('translate(', 330 + @dist * 35, ',-15) rotate(', @degree - $asc_rotate ,',15,15)')"/></xsl:attribute>
</use>
</g>
<xsl:choose>