| Index: samples/swipe/swipe.dart
|
| diff --git a/samples/swipe/swipe.dart b/samples/swipe/swipe.dart
|
| index c51c9b62049d5c803ac0c998383b16cc6f6d4351..a91fabdb00d0066aebb1ec313c0fcce311555a8c 100644
|
| --- a/samples/swipe/swipe.dart
|
| +++ b/samples/swipe/swipe.dart
|
| @@ -71,7 +71,7 @@ void main() {
|
| void initialize3D() {
|
| target.classes.add("transformable");
|
|
|
| - num childCount = target.elements.length;
|
| + num childCount = target.children.length;
|
|
|
| window.requestLayoutFrame(() {
|
| num width = query("#target").clientWidth;
|
| @@ -83,7 +83,7 @@ void initialize3D() {
|
| query('#container2').style.width = "${radius}px";
|
|
|
| for (int i = 0; i < childCount; i++) {
|
| - var panel = target.elements[i];
|
| + var panel = target.children[i];
|
|
|
| panel.classes.add("transformable");
|
|
|
| @@ -96,7 +96,7 @@ void initialize3D() {
|
| }
|
|
|
| void spinFigure(Element figure, int direction) {
|
| - num childCount = target.elements.length;
|
| + num childCount = target.children.length;
|
|
|
| anglePos += (360.0 / childCount) * direction;
|
|
|
|
|