Skip to content

Commit

Permalink
fix fly-to using my velocity PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Mar 31, 2015
1 parent b83489d commit 318219c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/transitions/fly-to.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export default function flyTo(opts={}) {
var motion = {
translateX: newOffset.left - oldOffset.left,
translateY: newOffset.top - oldOffset.top,
width: this.newElement.width(),
height: this.newElement.height()
outerWidth: this.newElement.outerWidth(),
outerHeight: this.newElement.outerHeight()
};

this.newElement.css({ visibility: 'hidden' });
Expand Down

0 comments on commit 318219c

Please sign in to comment.