Permalink
Browse files

fix custom device screensize

  • Loading branch information...
J.P.P Treub
J.P.P Treub committed Feb 25, 2016
1 parent 233ad6d commit 04f59b59f2cb897c8b340c849e813cdff27bf9eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Components/DeviceComponent.coffee
@@ -481,7 +481,7 @@ class exports.DeviceComponent extends BaseClass
@_update()
@emit("change:orientation", window.orientation)
isPortrait: -> Math.abs(@_orientation) == 0
isPortrait: -> Math.abs(@_orientation) is 0 or !@_orientation?
isLandscape: -> !@isPortrait()
@define "orientationName",

0 comments on commit 04f59b5

Please sign in to comment.