| Index: samples/clock/web/numbers.dart
|
| diff --git a/samples/clock/web/numbers.dart b/samples/clock/web/numbers.dart
|
| index c831da40b97ce8820df668710cdc12ed422be52a..6dc7ee6d9481c3cf98df053fbf6e22ff0d8b986f 100644
|
| --- a/samples/clock/web/numbers.dart
|
| +++ b/samples/clock/web/numbers.dart
|
| @@ -43,7 +43,7 @@ class ClockNumber {
|
|
|
| if (pixels != null) {
|
| if ((pixels[y][x] != 0) && (px[y][x] == 0)) {
|
| - window.setImmediate(() {
|
| + scheduleMicrotask(() {
|
| var r = img.getBoundingClientRect();
|
| double absx = r.left;
|
| double absy = r.top;
|
|
|