Permalink
Browse files

Always cap device scale at 1 if zoom to fit

  • Loading branch information...
Koen Bok
Koen Bok committed Feb 9, 2016
1 parent 0563b21 commit 479232299375e434596d81ea8dfe7c7d140561f3
Showing with 3 additions and 0 deletions.
  1. +3 −0 framer/Components/DeviceComponent.coffee
@@ -355,6 +355,9 @@ class exports.DeviceComponent extends BaseClass
(window.innerHeight - ((@padding + paddingOffset) * 2)) / height
])
# Never scale the phone beyond 100%
phoneScale = 1 if phoneScale > 1
return phoneScale
###########################################################################

0 comments on commit 4792322

Please sign in to comment.