Skip to content

Commit

Permalink
v0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kibo committed Feb 15, 2018
1 parent 9f8fb23 commit 8615ccc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion project/build/astrochart.js
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,14 @@

var line = this.paper.line( startPoint.x, startPoint.y, endPoint.x, endPoint.y);
line.setAttribute("stroke", astrology.STROKE_ONLY ? astrology.LINE_COLOR : aspectsList[i].aspect.color);
line.setAttribute("stroke-width", (astrology.CUSPS_STROKE * astrology.SYMBOL_SCALE));
line.setAttribute("stroke-width", (astrology.CUSPS_STROKE * astrology.SYMBOL_SCALE));

line.setAttribute("data-name", aspectsList[i].aspect.name);
line.setAttribute("data-degree", aspectsList[i].aspect.degree);
line.setAttribute("data-point", aspectsList[i].point.name);
line.setAttribute("data-toPoint", aspectsList[i].toPoint.name);
line.setAttribute("data-precision", aspectsList[i].precision);

wrapper.appendChild( line );
}

Expand Down
9 changes: 8 additions & 1 deletion project/src/transit.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,14 @@

var line = this.paper.line( startPoint.x, startPoint.y, endPoint.x, endPoint.y);
line.setAttribute("stroke", astrology.STROKE_ONLY ? astrology.LINE_COLOR : aspectsList[i].aspect.color);
line.setAttribute("stroke-width", (astrology.CUSPS_STROKE * astrology.SYMBOL_SCALE));
line.setAttribute("stroke-width", (astrology.CUSPS_STROKE * astrology.SYMBOL_SCALE));

line.setAttribute("data-name", aspectsList[i].aspect.name);
line.setAttribute("data-degree", aspectsList[i].aspect.degree);
line.setAttribute("data-point", aspectsList[i].point.name);
line.setAttribute("data-toPoint", aspectsList[i].toPoint.name);
line.setAttribute("data-precision", aspectsList[i].precision);

wrapper.appendChild( line );
}

Expand Down

0 comments on commit 8615ccc

Please sign in to comment.