Skip to content
Permalink
Browse files

cleaner custom device fix

  • Loading branch information...
J.P.P Treub
J.P.P Treub committed Feb 25, 2016
1 parent 04f59b5 commit 32b26ede05386f70630c85e28aec1d14858c0e24
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) is 0 or !@_orientation?
isPortrait: -> Math.abs(@orientation) is 0
isLandscape: -> !@isPortrait()

@define "orientationName",

0 comments on commit 32b26ed

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