From a24c32fcf6c28f22b23d30011dba73a7c1dffd20 Mon Sep 17 00:00:00 2001 From: Hixie Date: Mon, 17 Aug 2015 10:24:58 -0700 Subject: [PATCH] Fix spaces in lerp.dart to match style better. --- packages/flutter/lib/base/lerp.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/flutter/lib/base/lerp.dart b/packages/flutter/lib/base/lerp.dart index 80e2a2ceed..da5c144e94 100644 --- a/packages/flutter/lib/base/lerp.dart +++ b/packages/flutter/lib/base/lerp.dart @@ -26,10 +26,11 @@ Color lerpColor(Color a, Color b, double t) { if (b == null) return _scaleAlpha(a, 1.0 - t); return new Color.fromARGB( - lerpNum(a.alpha, b.alpha, t).toInt(), - lerpNum(a.red, b.red, t).toInt(), - lerpNum(a.green, b.green, t).toInt(), - lerpNum(a.blue, b.blue, t).toInt()); + lerpNum(a.alpha, b.alpha, t).toInt(), + lerpNum(a.red, b.red, t).toInt(), + lerpNum(a.green, b.green, t).toInt(), + lerpNum(a.blue, b.blue, t).toInt() + ); } Offset lerpOffset(Offset a, Offset b, double t) { @@ -55,5 +56,6 @@ Rect lerpRect(Rect a, Rect b, double t) { lerpNum(a.left, b.left, t), lerpNum(a.top, b.top, t), lerpNum(a.right, b.right, t), - lerpNum(a.bottom, b.bottom, t)); + lerpNum(a.bottom, b.bottom, t) + ); }