diff --git a/crates/epaint/src/stroke.rs b/crates/epaint/src/stroke.rs index c797996d834..cf95d1ed7a9 100644 --- a/crates/epaint/src/stroke.rs +++ b/crates/epaint/src/stroke.rs @@ -89,7 +89,7 @@ impl PathStroke { ) -> Self { Self { width: width.into(), - color: ColorMode::UV(Arc::new(Box::new(callback))), + color: ColorMode::UV(Arc::new(callback)), } }