Skip to content

Commit

Permalink
Round random gradient angles
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Treub committed Jun 29, 2017
1 parent 338f840 commit dee606e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framer/Gradient.coffee
Expand Up @@ -62,7 +62,7 @@ class exports.Gradient extends BaseClass
return new Gradient
start: colorA
end: colorB
angle: Math.random() * 360
angle: Math.round(Math.random() * 360)

@isGradient: (gradient) -> return gradient instanceof Gradient

Expand Down

0 comments on commit dee606e

Please sign in to comment.