| Index: sky/examples/raw/sector-layout.dart
|
| diff --git a/sky/examples/raw/sector-layout.dart b/sky/examples/raw/sector-layout.dart
|
| index f66415be695bed7e75029fad89bed53a7cc76978..36ee2af84a083ee7908d121df6289d852f86e35c 100644
|
| --- a/sky/examples/raw/sector-layout.dart
|
| +++ b/sky/examples/raw/sector-layout.dart
|
| @@ -126,10 +126,10 @@ class RenderDecoratedSector extends RenderSector {
|
| sky.Paint paint = new sky.Paint()..color = _decoration.backgroundColor;
|
| sky.Path path = new sky.Path();
|
| double outerRadius = (parentData.radius + deltaRadius);
|
| - sky.Rect outerBounds = new sky.Rect()..setLTRB(-outerRadius, -outerRadius, outerRadius, outerRadius);
|
| + sky.Rect outerBounds = new sky.Rect.fromLTRB(-outerRadius, -outerRadius, outerRadius, outerRadius);
|
| path.arcTo(outerBounds, deg(parentData.theta), deg(deltaTheta), true);
|
| double innerRadius = parentData.radius;
|
| - sky.Rect innerBounds = new sky.Rect()..setLTRB(-innerRadius, -innerRadius, innerRadius, innerRadius);
|
| + sky.Rect innerBounds = new sky.Rect.fromLTRB(-innerRadius, -innerRadius, innerRadius, innerRadius);
|
| path.arcTo(innerBounds, deg(parentData.theta + deltaTheta), deg(-deltaTheta), false);
|
| path.close();
|
| canvas.drawPath(path, paint);
|
|
|