Skip to content

Commit 75b628f

Browse files
ilyaiafucher
authored andcommitted
Fix universe and points drawing order
1 parent 33f2f69 commit 75b628f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

project/src/chart.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@
5050
var radix = new astrology.Radix(this.paper, this.cx, this.cy, this.radius, data);
5151

5252
radix.drawBg();
53-
radix.drawUniverse();
5453
radix.drawRuler();
55-
radix.drawPoints();
5654
radix.drawCusps();
5755
radix.drawAxis();
5856
radix.drawCircles();
59-
57+
radix.drawUniverse();
58+
radix.drawPoints();
59+
6060
return radix;
6161
};
6262

project/src/radix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,10 @@
419419

420420
var transit = new astrology.Transit(context, data);
421421
transit.drawBg();
422-
transit.drawPoints();
423422
transit.drawCusps();
424423
transit.drawRuler();
425424
transit.drawCircles();
425+
transit.drawPoints();
426426
return transit;
427427
};
428428

project/src/transit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@
274274

275275
// animation is finished
276276
this.data = data;
277-
this.drawPoints();
278277
this.drawCusps();
278+
this.drawPoints();
279279
this.aspects();
280280

281281
if(typeof callback == 'function'){

0 commit comments

Comments
 (0)