Index: samples/clock/numbers.dart |
diff --git a/samples/clock/numbers.dart b/samples/clock/numbers.dart |
index dda328f5a420222bffaed43f2ca3fa1b0f8eea75..bfb4d31ae9672679f482672c6ee7d116afc35a95 100644 |
--- a/samples/clock/numbers.dart |
+++ b/samples/clock/numbers.dart |
@@ -22,7 +22,7 @@ class ClockNumber { |
setElementPosition(root, pos, 0.0); |
for (int y = 0; y < HEIGHT; ++y) { |
- imgs[y] = new List<ImageElement>(WIDTH); |
+ imgs[y] = new List<ImageElement>.fixedLength(WIDTH); |
} |
for (int y = 0; y < HEIGHT; ++y) { |