From cdfb3ef7012a184cb9d254bdaf6a3720bbc40484 Mon Sep 17 00:00:00 2001 From: Lauren Date: Tue, 13 Jun 2017 15:58:26 -0700 Subject: [PATCH] Correct matrix typo I believe this is a typo, introduced here: https://github.com/react-native-community/react-native-svg/commit/5bd9b40c1725b60f5a034ce5488c488393356593#diff-53fd7ef0f8293582e3a5625fe345b1f9R86 --- lib/Matrix2D.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Matrix2D.js b/lib/Matrix2D.js index e9760796..cffd21fd 100644 --- a/lib/Matrix2D.js +++ b/lib/Matrix2D.js @@ -83,7 +83,7 @@ export default class Matrix2D { this.a = a == null ? 1 : a; this.b = b || 0; this.c = c || 0; - this.d = b == null ? 1 : d; + this.d = d == null ? 1 : d; this.tx = tx || 0; this.ty = ty || 0; return this;