From 984a39f49191378e75177f7029097cafbc1a6186 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Sun, 30 Aug 2015 11:03:00 -0700 Subject: [PATCH] Update box_painter.dart --- packages/flutter/lib/painting/box_painter.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/painting/box_painter.dart b/packages/flutter/lib/painting/box_painter.dart index bfe73e895b..bf0fe70464 100644 --- a/packages/flutter/lib/painting/box_painter.dart +++ b/packages/flutter/lib/painting/box_painter.dart @@ -478,7 +478,7 @@ class BoxPainter { double shortestSide = rect.shortestSide; // In principle, we should use shortestSide / 2.0, but we don't want to // run into floating point rounding errors. Instead, we just use - // shortestSide and let sky.Canvas do any remaning clamping. + // shortestSide and let sky.Canvas do any remaining clamping. return _decoration.borderRadius > shortestSide ? shortestSide : _decoration.borderRadius; }