Permalink
Browse files

Happy linter

  • Loading branch information...
nvh committed Jan 19, 2018
1 parent d35606e commit 3b115bf2398c5f2c7a0f55c36ab1db86c13a3ccf
Showing with 3 additions and 1 deletion.
  1. +1 −1 framer/SVGBaseLayer.coffee
  2. +2 −0 framer/SVGGroup.coffee
@@ -139,7 +139,7 @@ class exports.SVGBaseLayer extends Layer
@calculateSize()
@recalculateOrigin()
calculateSize: ->
calculateSize: ->
if Framer?.CurrentContext.elementInDOM
rect = @_element.getBoundingClientRect()
@_width = rect.width / @_parent.canvasScaleX()
View
@@ -57,6 +57,8 @@ class SVGGroup extends SVGBaseLayer
@defineGroupProxyProp "strokeWidth", _.isNumber, parseInt
@defineGroupProxyProp "strokeWidthMultiplier", _.isNumber, parseInt
@defineGroupProxyProp "color", Color.validColorValue, Color.toColor
# coffeelint: disable=prefer_english_operator
@defineGroupProxyProp "ignoreEvents", _.isBoolean, (value) -> !!value
# coffeelint: enable=prefer_english_operator
exports.SVGGroup = SVGGroup

0 comments on commit 3b115bf

Please sign in to comment.