Index: samples/spirodraw/web/colorpicker.dart |
diff --git a/samples/spirodraw/web/colorpicker.dart b/samples/spirodraw/web/colorpicker.dart |
index cd880b5c1f7cf6049f173d864ae199b6af99155c..a78d5f6c81f5c38480f4da0b16eb46a75f4c613e 100644 |
--- a/samples/spirodraw/web/colorpicker.dart |
+++ b/samples/spirodraw/web/colorpicker.dart |
@@ -23,7 +23,7 @@ class ColorPicker { |
ColorPicker(this.canvasElement) : |
_listeners = [] |
{ |
- ctx = canvasElement.context2d; |
+ ctx = canvasElement.context2D; |
drawPalette(); |
addHandlers(); |
showSelected(); |