Expose ContentFit in root

This commit is contained in:
Héctor Ramón Jiménez 2022-02-16 17:58:51 +07:00
parent 6822d1d9f2
commit c910e23919
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 5 additions and 7 deletions

View file

@ -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,
};

View file

@ -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")))]