| Index: ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
|
| diff --git a/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js b/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
|
| index 872b4b8e01d2a87f5eee8d2dd59bd228965c838f..413299b9a08e0345c7bf8fa2a600f56c01769c90 100644
|
| --- a/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
|
| +++ b/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.js
|
| @@ -29,39 +29,23 @@ Polymer({
|
| openAnimationConfig: {
|
| type: Object,
|
| value: function() {
|
| - return [{
|
| - name: 'fade-in-animation',
|
| - timing: {
|
| - delay: 50,
|
| - duration: 200
|
| + return [
|
| + {name: 'fade-in-animation', timing: {delay: 50, duration: 200}}, {
|
| + name: 'paper-menu-grow-width-animation',
|
| + timing: {delay: 50, duration: 150, easing: SLIDE_CUBIC_BEZIER}
|
| + },
|
| + {
|
| + name: 'paper-menu-grow-height-animation',
|
| + timing: {delay: 100, duration: 275, easing: SLIDE_CUBIC_BEZIER}
|
| }
|
| - }, {
|
| - name: 'paper-menu-grow-width-animation',
|
| - timing: {
|
| - delay: 50,
|
| - duration: 150,
|
| - easing: SLIDE_CUBIC_BEZIER
|
| - }
|
| - }, {
|
| - name: 'paper-menu-grow-height-animation',
|
| - timing: {
|
| - delay: 100,
|
| - duration: 275,
|
| - easing: SLIDE_CUBIC_BEZIER
|
| - }
|
| - }];
|
| + ];
|
| }
|
| },
|
|
|
| closeAnimationConfig: {
|
| type: Object,
|
| value: function() {
|
| - return [{
|
| - name: 'fade-out-animation',
|
| - timing: {
|
| - duration: 150
|
| - }
|
| - }];
|
| + return [{name: 'fade-out-animation', timing: {duration: 150}}];
|
| }
|
| }
|
| },
|
|
|