Skip to content

Commit 956bcbf

Browse files
authored
Update index_trailingBall_6.html
1 parent f0d8e5a commit 956bcbf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

KNOTS/index_trailingBall_6.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
else if(a[0]==b[0] && a[0]>center[0]) {return a[1] - b[1]} });
475475

476476
pathArrG.sort(function(a){if (a[0]>center[0] && a[1]>center[1]) {return 1} else if (a[0]>center[0] && a[1]<center[1]) {return -1} else {return 0}});
477-
pathArrG.sort(function(a){if (a[0]<center[0] && a[1]>center[1]) {return 1} else if (a[0]<center[0] && a[1]<center[1]) {return -1} else {return 0}});
477+
pathArrG.sort(function(a){if a[1]<center[1] {return 1} else if (a[0]<center[0] && a[1]>center[1]) {return 1} else if (a[0]>center[0] && a[1]>center[1]) {return -1} else {return 0}});
478478

479479
pathArrG.sort(function(a, b){if(a[0]!=b[0] && a[1]<center[1]) {return b[0] - a[0]}
480480
else if(a[0]!=b[0] && a[1]>center[1]) {return a[0] - b[0]} else if(a[0]==b[0] && a[0]<center[0]) {return a[1] - b[1]}
@@ -790,5 +790,6 @@
790790

791791

792792

793+
793794

794795

0 commit comments

Comments
 (0)