| Index: sky/sdk/lib/framework/components2/popup_menu.dart
|
| diff --git a/sky/sdk/lib/framework/components2/popup_menu.dart b/sky/sdk/lib/framework/components2/popup_menu.dart
|
| index d264f575f19d2dcbaddeee5c1d607306c3382cfe..d41f03a82f0353b6f0f73927c6495847554694a0 100644
|
| --- a/sky/sdk/lib/framework/components2/popup_menu.dart
|
| +++ b/sky/sdk/lib/framework/components2/popup_menu.dart
|
| @@ -114,14 +114,17 @@ class PopupMenu extends AnimatedComponent {
|
| }));
|
|
|
| // inlineStyle: _inlineStyle(),
|
| - return new ShrinkWrapWidth(
|
| - child: new Container(
|
| - padding: const EdgeDims.all(8.0),
|
| - decoration: new BoxDecoration(
|
| - backgroundColor: Grey[50],
|
| - borderRadius: 2.0,
|
| - boxShadow: Shadow[level]),
|
| - child: new Block(children)
|
| + return new Opacity(
|
| + opacity: math.min(1.0, _position * 3.0),
|
| + child: new ShrinkWrapWidth(
|
| + child: new Container(
|
| + padding: const EdgeDims.all(8.0),
|
| + decoration: new BoxDecoration(
|
| + backgroundColor: Grey[50],
|
| + borderRadius: 2.0,
|
| + boxShadow: Shadow[level]),
|
| + child: new Block(children)
|
| + )
|
| )
|
| );
|
| }
|
|
|