Permalink
Browse files

Fix subtle layer.label bug

  • Loading branch information...
koenbok committed Nov 30, 2016
1 parent 93705be commit 0894861d56c1973bf5a8e8396fa2c172d2df1979
Showing with 1 addition and 0 deletions.
  1. +1 −0 framer/Utils.coffee
View
@@ -186,6 +186,7 @@ Utils.labelLayer = (layer, text, style={}) ->
return unless text
return if text is ""
+ return unless typeof(text) is "string"
fontSize = Math.max(Math.min(48, parseInt(layer.height / 3.2)), 14)

0 comments on commit 0894861

Please sign in to comment.