mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:23:53 +00:00
Merge pull request #7191 from dotCooCoo/feat/gradient-hue-blend
Gradients: Hue Clockwise and Hue Counterclockwise mix stops around the hue wheel
This commit is contained in:
@@ -76,7 +76,7 @@ pub fn gradient_params(g: &GradientPaint) -> Value {
|
||||
v["dither"] = json!(true);
|
||||
}
|
||||
if !g.gradient.method.is_classic() {
|
||||
v["method"] = json!(g.gradient.method.label().to_lowercase());
|
||||
v["method"] = json!(g.gradient.method.id());
|
||||
}
|
||||
// A freeform gradient has no ends to spread past (`paint.setFill` refuses a spread for one).
|
||||
if g.gradient.is_spread() {
|
||||
|
||||
Reference in New Issue
Block a user