Permalink
Browse files

fix device orientation changes

  • Loading branch information...
J.P.P Treub
J.P.P Treub committed Feb 23, 2016
1 parent 13042bc commit 4f9f7132ca10bf6ef3ea477a824681e7338b3047
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/Components/DeviceComponent.coffee
@@ -477,6 +477,7 @@ class exports.DeviceComponent extends BaseClass
@emit("change:orientation", @_orientation)
_orientationChange: =>
@_orientation = window.orientation
@_update()
@emit("change:orientation", window.orientation)

0 comments on commit 4f9f713

Please sign in to comment.