Index: samples/logo/logo.dart |
diff --git a/samples/logo/logo.dart b/samples/logo/logo.dart |
index 8c3a24fdf043cc74fe4f5fc1e746d0da3f48a078..57623d4cef25978f22ea4df628e7b15b9f9fcac4 100644 |
--- a/samples/logo/logo.dart |
+++ b/samples/logo/logo.dart |
@@ -110,9 +110,9 @@ InputElement hue, saturation, lightness; |
Map<String, Color> defaultColors; |
onSliderChange(_) { |
- final hueDelta = Math.parseInt(hue.value) - 180; |
- final saturationMod = Math.parseInt(saturation.value)/100; |
- final lightnessMod = Math.parseInt(lightness.value)/100; |
+ final hueDelta = int.parse(hue.value) - 180; |
+ final saturationMod = int.parse(saturation.value)/100; |
+ final lightnessMod = int.parse(lightness.value)/100; |
logo.queryAll("path").forEach((p) { |
final color = defaultColors[p.id].dup(); |