Skip to content

VectorCraft: An open-source, vector art tool written by scratch in pure Rust

Envelopes: import Color and PreserveShape in live/expand.rs (#4299 made the imports explicit)

bflatastic103ec3050f95
diff --git a/crates/doc/src/live/expand.rs b/crates/doc/src/live/expand.rs
index db244719d..c67dbee3e 100644
--- a/crates/doc/src/live/expand.rs
+++ b/crates/doc/src/live/expand.rs
@@ -1,8 +1,8 @@
-use super::envelope::{EnvelopeOptions, expand_envelope};
+use super::envelope::{EnvelopeOptions, PreserveShape, expand_envelope};
use super::mesh::GradientMesh;
use super::warp::map_nonlinear;
use super::{
- Affine, Appearance, AppearanceItem, Arc, FillLayer, ImageObject, Node, NodeId, NodeKind, Paint, PathData, Point, Rect, SubPath, Vec2,
+ Affine, Appearance, AppearanceItem, Arc, Color, FillLayer, ImageObject, Node, NodeId, NodeKind, Paint, PathData, Point, Rect, SubPath, Vec2,
blend_expand,
};