Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix angle arc coloring in first hint

Summary:
Previously the blue and green arc lengths were reversed in e.g. http://localhost:8000/exercises/angle_addition_postulate.html?debug&problem=0&seed=25

Just stumbled across this as I was sifting through our geometry content.

Reviewers: emily

Reviewed By: emily

Differential Revision: http://phabricator.khanacademy.org/D546
  • Loading branch information...
commit e089f618e056dc8c67bd300855b7fd9932c8335f 1 parent a18d57f
@beneater beneater authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 exercises/angle_addition_postulate.html
View
4 exercises/angle_addition_postulate.html
@@ -117,9 +117,9 @@
<div class="graphie" data-update="angleGraph">
style({ stroke: GREEN, strokeWidth: 3 });
- arc( [ 0, 0 ], 1, 0, subAngle2 );
+ arc([0, 0], 1, 0, ANGLE_ONE === ANGLE_TOP ? subAngle2 : subAngle1).toBack();
style({ stroke: BLUE, strokeWidth: 3 });
- arc( [ 0, 0 ], 1, subAngle2, largeAngle );
+ arc([0, 0], 1, ANGLE_ONE === ANGLE_TOP ? subAngle2 : subAngle1, largeAngle).toBack();
if (PROBLEM === 0){
style({ stroke: "purple", strokeWidth: 3 });
Please sign in to comment.
Something went wrong with that request. Please try again.