diff options
Diffstat (limited to 'graphics/src/geometry')
-rw-r--r-- | graphics/src/geometry/fill.rs | 3 | ||||
-rw-r--r-- | graphics/src/geometry/style.rs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/src/geometry/fill.rs b/graphics/src/geometry/fill.rs index 2e8c1669..6aa1f28b 100644 --- a/graphics/src/geometry/fill.rs +++ b/graphics/src/geometry/fill.rs @@ -1,7 +1,8 @@ //! Fill [crate::widget::canvas::Geometry] with a certain style. -use iced_core::{Color, Gradient}; +use iced_core::Color; pub use crate::geometry::Style; +use crate::Gradient; /// The style used to fill geometry. #[derive(Debug, Clone)] diff --git a/graphics/src/geometry/style.rs b/graphics/src/geometry/style.rs index be9ee376..ece6b32a 100644 --- a/graphics/src/geometry/style.rs +++ b/graphics/src/geometry/style.rs @@ -1,4 +1,5 @@ -use iced_core::{Color, Gradient}; +use crate::Gradient; +use iced_core::Color; /// The coloring style of some drawing. #[derive(Debug, Clone, PartialEq)] |