Permalink
Browse files

Scale up the preloader on mobile

  • Loading branch information...
eelco committed Jul 28, 2016
1 parent d5604c3 commit a75ebf11e6044c52ccb2e81776d20360359ba2eb
Showing with 5 additions and 2 deletions.
  1. +5 −2 framer/Extras/Preloader.coffee
@@ -54,8 +54,11 @@ class Preloader extends BaseClass
@brand.style["background-image"] = "url('framer/images/preloader-icon.png')"
do layout = =>
- screen = Framer.Device?.screen
- scale = screen?.frame.width / screen?.canvasFrame.width
+ if Utils.isMobile()
+ scale = 2
+ else
+ screen = Framer.Device?.screen
+ scale = screen?.frame.width / screen?.canvasFrame.width
@progressIndicator.scale = scale
@brand.scale = scale

0 comments on commit a75ebf1

Please sign in to comment.