Index: sky/examples/raw/spinning_arabic.dart |
diff --git a/sky/examples/raw/spinning_arabic.dart b/sky/examples/raw/spinning_arabic.dart |
index 25dea1140287e834a84b99d63b367649b51eff1d..29f2bfcb62d634b48261334f50b6be4a47d5e719 100644 |
--- a/sky/examples/raw/spinning_arabic.dart |
+++ b/sky/examples/raw/spinning_arabic.dart |
@@ -16,7 +16,7 @@ void beginFrame(double timeStamp) { |
canvas.translate(view.width / 2.0, view.height / 2.0); |
canvas.rotate(math.PI * delta / 1800); |
canvas.drawRect(new Rect.fromLTRB(-100.0, -100.0, 100.0, 100.0), |
- new Paint()..setARGB(255, 0, 255, 0)); |
+ new Paint()..color = Color.fromARGB(255, 0, 255, 0)); |
double sin = math.sin(delta / 200); |
layoutRoot.maxWidth = 150.0 + (50 * sin); |