fix gradients stops in a right order

This commit is contained in:
Horcrux
2016-04-20 21:50:35 +08:00
parent 870c0c37e7
commit c4a185354a
4 changed files with 53 additions and 52 deletions
-1
View File
@@ -66,7 +66,6 @@ class LinearGradient extends Gradient{
);
},
function (stops, opacity) {
console.log(stopsOpacity(stops, opacity), ...gradientProps);
return new LinearGradientGenerator(stopsOpacity(stops, opacity), ...gradientProps);
}
);