diff options
author | 2022-02-16 17:58:51 +0700 | |
---|---|---|
committer | 2022-02-16 18:19:37 +0700 | |
commit | c910e239196655f3d5ba146aa3dc8da2b578ef8e (patch) | |
tree | 008ef6d5fdbd8c46125e23d0083cab2539aec0ff /src | |
parent | 6822d1d9f2c5b4fcbf65763c8edd091ac18a657e (diff) | |
download | iced-c910e239196655f3d5ba146aa3dc8da2b578ef8e.tar.gz iced-c910e239196655f3d5ba146aa3dc8da2b578ef8e.tar.bz2 iced-c910e239196655f3d5ba146aa3dc8da2b578ef8e.zip |
Expose `ContentFit` in root
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 | ||||
-rw-r--r-- | src/widget.rs | 1 |
2 files changed, 2 insertions, 3 deletions
@@ -221,6 +221,6 @@ pub use settings::Settings; pub use runtime::alignment; pub use runtime::futures; pub use runtime::{ - Alignment, Background, Color, Command, Font, Length, Point, Rectangle, - Size, Subscription, Vector, + Alignment, Background, Color, Command, ContentFit, Font, Length, Point, + Rectangle, Size, Subscription, Vector, }; diff --git a/src/widget.rs b/src/widget.rs index d27e4c72..c619bcfa 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -39,7 +39,6 @@ pub mod image { pub use crate::runtime::image::Handle; pub use crate::runtime::widget::image::viewer; pub use crate::runtime::widget::image::{Image, Viewer}; - pub use crate::runtime::ContentFit; } #[cfg_attr(docsrs, doc(cfg(feature = "svg")))] |