summaryrefslogtreecommitdiffstats
path: root/web/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-09-20 15:09:55 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-09-20 15:14:08 +0700
commita0ad3996225601aaa1ebe051cba115374b55c80e (patch)
tree8420a91cd319a63b1ed257a6334453a1a673bdfb /web/src/lib.rs
parent5fae6e59ffbc5913761df638dc7f0c35b7f43bc9 (diff)
downloadiced-a0ad3996225601aaa1ebe051cba115374b55c80e.tar.gz
iced-a0ad3996225601aaa1ebe051cba115374b55c80e.tar.bz2
iced-a0ad3996225601aaa1ebe051cba115374b55c80e.zip
Refactor alignment types into an `alignment` module
Diffstat (limited to 'web/src/lib.rs')
-rw-r--r--web/src/lib.rs15
1 files changed, 10 insertions, 5 deletions
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::*;