Ability to set stop points on Text with a gradient (#3576)
* Ability to set gradient stop points on Text

* little spacing consistency fix

* Better comparison of arrays

* Made fillGradientStopPoints clear they should be values between 0 and 1

* Potential fix for gradients

* making text with no set stops add the stops manually, so both settings take the same code path
1 parent ec30c60 commit 920126e079790f08f8bc70013007798e48b3b1ed
@Dave Moore Dave Moore authored on 22 Jan 2017
Matt Karl committed on 22 Jan 2017
Showing 2 changed files
View
src/core/text/Text.js
View
src/core/text/TextStyle.js