| Index: samples/swipe/web/swipe.dart
|
| diff --git a/samples/swipe/web/swipe.dart b/samples/swipe/web/swipe.dart
|
| index 75622c7fbfa4dc603b4767b9578fa977cad7af40..f4c150f1e2ceeaae996ab919a5e8b07011676428 100644
|
| --- a/samples/swipe/web/swipe.dart
|
| +++ b/samples/swipe/web/swipe.dart
|
| @@ -73,7 +73,7 @@ void initialize3D() {
|
|
|
| num childCount = target.children.length;
|
|
|
| - window.setImmediate(() {
|
| + window.immediate.then((_) {
|
| num width = query("#target").clientWidth;
|
| figureWidth = (width / 2) ~/ tan(PI / childCount);
|
|
|
|
|