From a0ad3996225601aaa1ebe051cba115374b55c80e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 20 Sep 2021 15:09:55 +0700 Subject: Refactor alignment types into an `alignment` module --- web/src/lib.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'web/src/lib.rs') diff --git a/web/src/lib.rs b/web/src/lib.rs index b968c96f..4679b457 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -73,13 +73,18 @@ pub use css::Css; pub use dodrio; pub use element::Element; pub use hasher::Hasher; +pub use subscription::Subscription; + +pub use iced_core::alignment; +pub use iced_core::keyboard; +pub use iced_core::mouse; +pub use iced_futures::executor; +pub use iced_futures::futures; + pub use iced_core::{ - keyboard, mouse, Align, Background, Color, CrossAlign, Font, - HorizontalAlignment, Length, Padding, Point, Rectangle, Size, Vector, - VerticalAlignment, + Alignment, Background, Color, Font, Length, Padding, Point, Rectangle, + Size, Vector, }; -pub use iced_futures::{executor, futures}; -pub use subscription::Subscription; #[doc(no_inline)] pub use widget::*; -- cgit