Index: samples/logo/logo.dart |
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart |
index 57623d4cef25978f22ea4df628e7b15b9f9fcac4..6ac9d7a7b30d1c7c83afff97a0b26009e150f1e4 100644 |
--- a/samples/logo/logo.dart |
+++ b/samples/logo/logo.dart |
@@ -43,7 +43,7 @@ class Color { |
s = d/(2 - 2*l); |
} |
- return new Color((h.round() % 360).toInt(), s, l); |
+ return new Color(h.round() % 360, s, l); |
} |
factory Color.fromHex(String hex) => new Color.rgb( |