Browse files

Fixing a copy-and-paste error: wrong property accessed.

  • Loading branch information...
1 parent 838a29f commit 5d29f773ad2243a4f48a95ee040b05c0accbf6ba @davidaurelio committed Aug 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/css-beziers.js
View
2 src/css-beziers.js
@@ -173,7 +173,7 @@ CubicBezier.prototype._getAuxPoints = function(t){
},
i1 = {
x: this._p1.x + t*(this._p2.x - this._p1.x),
- y: this._p1.y + t*(this._p2.x - this._p1.y)
+ y: this._p1.y + t*(this._p2.y - this._p1.y)
},
i2 = { // second control point of the right curve
x: this._p2.x + t*(1 - this._p2.x),

0 comments on commit 5d29f77

Please sign in to comment.