Skip to content

Commit

Permalink
Update ShareComponent to new animation API
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh committed Oct 6, 2016
1 parent 6e5b932 commit 554908c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions framer/Components/ShareComponent.coffee
Expand Up @@ -67,13 +67,10 @@ class Button extends ShareLayer


@onMouseOver -> @onMouseOver ->
@style.cursor = "pointer" @style.cursor = "pointer"
@states.switch("hover") @animate("hover")
@animate
properties:
opacity: .8


@onMouseOut -> @onMouseOut ->
@states.switch("full") @animate("full")


@onTap -> @onTap ->
if options.shareButton if options.shareButton
Expand Down

0 comments on commit 554908c

Please sign in to comment.