Skip to content

Commit

Permalink
RAF bugs seen fixed on WebKit > 601
Browse files Browse the repository at this point in the history
  • Loading branch information
koenbok committed Dec 27, 2015
1 parent 6a39d85 commit 57a342d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions framer/AnimationLoop.coffee
Expand Up @@ -29,11 +29,9 @@ class exports.AnimationLoop extends EventEmitter
# Workaraound for RAF bug on 10.10
# https://bugs.webkit.org/show_bug.cgi?id=137599

if Utils.webkitVersion() > 600 and Utils.isDesktop()
@raf = false

if Utils.webkitVersion() > 600 and Utils.isFramerStudio()
@raf = false
if Utils.webkitVersion() > 600 and Utils.webkitVersion() < 601
if Utils.isFramerStudio() or Utils.isDesktop()
@raf = false

# To avoid event emitter warning
@maximumListeners = Infinity
Expand Down

0 comments on commit 57a342d

Please sign in to comment.