Index: samples/spirodraw/ColorPicker.dart |
diff --git a/samples/spirodraw/ColorPicker.dart b/samples/spirodraw/ColorPicker.dart |
index ad381dff538306ff000f488edd2788c25b2aacfe..f1a5a7cca1835458599469b579cd2281515cfe6c 100644 |
--- a/samples/spirodraw/ColorPicker.dart |
+++ b/samples/spirodraw/ColorPicker.dart |
@@ -107,7 +107,7 @@ class ColorPicker { |
} |
String getHexString(num value) { |
- int i = value.floor().toInt(); |
+ int i = value.floor(); |
int r = (i ~/ 36) % 6; |
int g = (i % 36) ~/ 6; |