| Index: sky/sdk/lib/framework/components2/drawer.dart
|
| diff --git a/sky/sdk/lib/framework/components2/drawer.dart b/sky/sdk/lib/framework/components2/drawer.dart
|
| index f3400054d24c5a1e3c39b4bcc375e24cb2f61f2f..222be067875fcd463c3780e7928e06fcecda487c 100644
|
| --- a/sky/sdk/lib/framework/components2/drawer.dart
|
| +++ b/sky/sdk/lib/framework/components2/drawer.dart
|
| @@ -89,14 +89,10 @@ class DrawerController {
|
| if (distance > 0)
|
| position.animateTo(targetPosition, duration, curve: linear);
|
| }
|
| +
|
| }
|
|
|
| class Drawer extends AnimatedComponent {
|
| - List<UINode> children;
|
| - int level;
|
| - DrawerController controller;
|
| -
|
| - double _position;
|
|
|
| Drawer({
|
| Object key,
|
| @@ -109,6 +105,12 @@ class Drawer extends AnimatedComponent {
|
| });
|
| }
|
|
|
| + List<UINode> children;
|
| + int level;
|
| + DrawerController controller;
|
| +
|
| + double _position;
|
| +
|
| UINode build() {
|
| Matrix4 transform = new Matrix4.identity();
|
| transform.translate(_position);
|
| @@ -141,4 +143,5 @@ class Drawer extends AnimatedComponent {
|
| onPointerCancel: controller.handlePointerCancel
|
| );
|
| }
|
| +
|
| }
|
|
|