Permalink
Browse files

Add dependecy to strokeWidthMultiplier in strokeWidth

  • Loading branch information...
nvh committed Jan 16, 2018
1 parent 1aec23d commit e80c465065f8adc1230ed7589f69a5cc667592ec
Showing with 2 additions and 2 deletions.
  1. +2 −2 framer/SVGLayer.coffee
View
@@ -33,8 +33,8 @@ class exports.SVGLayer extends Layer
@define "fill", layerProperty(@, "fill", "fill", null, SVG.validFill, SVG.toFill)
@define "stroke", layerProperty(@, "stroke", "stroke", null, SVG.validFill, SVG.toFill)
@define "strokeWidthMultiplier", @simpleProperty("strokeWidthMultiplier", 1)
@define "strokeWidth", layerProperty(@, "strokeWidth", "strokeWidth", null, _.isNumber)
@define "strokeWidthMultiplier", layerProperty(@, "strokeWidthMultiplier", null, null, _.isNumber)
@define "strokeWidth", layerProperty(@, "strokeWidth", "strokeWidth", null, _.isNumber, null, {depends: ["strokeWidthMultiplier"]})
@define "color", layerProperty(@, "color", "color", null, Color.validColorValue, Color.toColor, null, ((layer, value) -> layer.fill = value), "_elementHTML", true)
@define "gradient",

0 comments on commit e80c465

Please sign in to comment.