Permalink
Browse files

Merge pull request #328 from gk3/patch-1

fix missing scroll shortcuts
  • Loading branch information...
koenbok committed Mar 24, 2016
2 parents 25f28a7 + 926b161 commit e7246ec69087a364ce0354e78b72df512a42b0ef
Showing with 4 additions and 0 deletions.
  1. +4 −0 framer/Layer.coffee
@@ -998,7 +998,11 @@ class exports.Layer extends BaseClass
onClick: (cb) -> @on(Events.Click, cb)
onDoubleClick: (cb) -> @on(Events.DoubleClick, cb)
onScrollStart: (cb) -> @on(Events.ScrollStart, cb)
onScroll: (cb) -> @on(Events.Scroll, cb)
onScrollEnd: (cb) -> @on(Events.ScrollEnd, cb)
onScrollAnimationDidStart: (cb) -> @on(Events.ScrollAnimationDidStart, cb)
onScrollAnimationDidEnd: (cb) -> @on(Events.ScrollAnimationDidEnd, cb)
onTouchStart: (cb) -> @on(Events.TouchStart, cb)
onTouchEnd: (cb) -> @on(Events.TouchEnd, cb)

0 comments on commit e7246ec

Please sign in to comment.