Skip to content

Commit

Permalink
Include opacity in toolbar animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ambrinchaudhary authored and ipeychev committed Jan 12, 2015
1 parent a7c202e commit 53e9343
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/yui/src/toolbars/toolbar-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ YUI.add('toolbar-base', function(Y) {
boundingBox = this.get('boundingBox');

boundingBox.setStyle('visibility', 'hidden');
boundingBox.setStyle('opacity', '0');
boundingBoxNode = boundingBox.getDOMNode();

height = boundingBoxNode.offsetHeight;
Expand All @@ -207,6 +208,7 @@ YUI.add('toolbar-base', function(Y) {

transition.left = xy[0] + 'px';
transition.top = xy[1] + 'px';
transition.opacity = 1;

boundingBox.setStyle('visibility', 'visible');

Expand Down

0 comments on commit 53e9343

Please sign in to comment.