Permalink
Browse files

Round random gradient angles

  • Loading branch information...
jonastreub committed Jun 29, 2017
1 parent 338f840 commit dee606e4f8668ef535ea200645949df111e0b52c
Showing with 1 addition and 1 deletion.
  1. +1 −1 framer/Gradient.coffee
View
@@ -62,7 +62,7 @@ class exports.Gradient extends BaseClass
return new Gradient return new Gradient
start: colorA start: colorA
end: colorB end: colorB
angle: Math.random() * 360 angle: Math.round(Math.random() * 360)
@isGradient: (gradient) -> return gradient instanceof Gradient @isGradient: (gradient) -> return gradient instanceof Gradient

0 comments on commit dee606e

Please sign in to comment.