mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 06:05:08 +00:00
Merge main into fix/i18n-plugin-messages
This commit is contained in:
@@ -616,6 +616,7 @@ fn decode_paint(v: &Value, at: &str) -> Result<Paint> {
|
||||
}
|
||||
stops.sort_by(|a, b| a.offset.total_cmp(&b.offset));
|
||||
g.angle = g.angle.rem_euclid(360.0);
|
||||
g.gradient.repeats = g.gradient.repeat_count();
|
||||
let conic = g.gradient.kind == vectorcraft_color::GradientKind::Conic;
|
||||
let no_focal = conic || g.gradient.kind == vectorcraft_color::GradientKind::Diamond;
|
||||
if let Some(geom) = &mut g.geom {
|
||||
|
||||
Reference in New Issue
Block a user