Skip to content
Permalink
Browse files

fix for color with empty string input

  • Loading branch information...
J.P.P Treub
J.P.P Treub committed Dec 22, 2015
1 parent 7ed24b6 commit 44ccc0be413f6ea5e162cb65ab11cacabf128236
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Layer.coffee
@@ -32,7 +32,7 @@ layerProperty = (obj, name, cssProperty, fallback, validator, transformer, optio

# console.log "Layer.#{name}.set #{value} current:#{@[name]}"

if transformer and (value or value is null)
if transformer
value = transformer(value)

# Return unless we get a new value

0 comments on commit 44ccc0b

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