Permalink
Browse files

Fix branding preloader offset

  • Loading branch information...
koenbok committed Aug 4, 2016
1 parent 7f842d9 commit 7d48128eec5485efcff46f8daeb1f9cc1d7a8050
Showing with 9 additions and 6 deletions.
  1. +2 −2 extras/Studio.framer/app.coffee
  2. +7 −4 framer/Extras/Preloader.coffee
@@ -1,4 +1,4 @@
Framer.Extras.Hints.disable()
# Framer.Extras.Hints.disable()
Framer.Info =
title: ""
@@ -12,6 +12,6 @@ grid = new GridComponent
size: Screen
grid.renderCell = (layer) ->
layer.image = Utils.randomImage(layer)
layer.image = Utils.randomImage(layer) + "cache=#{Date.now()}"
layer.onTap ->
@@ -147,11 +147,13 @@ class Preloader extends BaseClass
@progressIndicator.setProgress(@progress, false)
@brand = new Layer
width: 96
height: 96
point: Align.center
size: 96
parent: @cover
backgroundColor: null
if not Utils.isFramerStudio()
@brand.style =
backgroundSize: "50%"
# We display it a tad larger on mobile
if Utils.isMobile()
@@ -169,7 +171,8 @@ class Preloader extends BaseClass
do layout = =>
@cover.frame = Canvas
@progressIndicator.point = Align.center
@brand.point = Align.center
@brand.x = Align.center
@brand.y = Align.center(2)
Canvas.onResize(layout)

0 comments on commit 7d48128

Please sign in to comment.