Skip to content
Permalink
Browse files

Update ShareComponent to new animation API

  • Loading branch information
nvh committed Oct 6, 2016
1 parent 6e5b932 commit 554908c1841f2421c31d28d21bd704cdf7c051c9
Showing with 2 additions and 5 deletions.
  1. +2 −5 framer/Components/ShareComponent.coffee
@@ -67,13 +67,10 @@ class Button extends ShareLayer

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

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

@onTap ->
if options.shareButton

0 comments on commit 554908c

Please sign in to comment.
You can’t perform that action at this time.