Skip to content

Commit

Permalink
Adding UnionInner and Calc types into the prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoISnoTarget committed Jul 1, 2024
1 parent ee95168 commit 53fbb15
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pub use crate::{
geometry::{Line, Rect, Size},
style::{
AlignContent, AlignItems, AlignSelf, AvailableSpace, Dimension, Display, JustifyContent, JustifyItems,
JustifySelf, LengthPercentage, LengthPercentageAuto, Position, Style,
AlignContent, AlignItems, AlignSelf, AvailableSpace, Dimension, DimensionInner, Display, JustifyContent, JustifyItems,
JustifySelf, LengthPercentage, LengthPercentageInner, LengthPercentageAuto, LengthPercentageAutoInner, Position, Style,
},
style_helpers::{
auto, fit_content, length, max_content, min_content, percent, zero, FromFlex, FromLength, FromPercent,
Expand All @@ -28,3 +28,6 @@ pub use crate::style_helpers::{

#[cfg(feature = "taffy_tree")]
pub use crate::TaffyTree;

#[cfg(feature = "calc")]
pub use crate::style::{ CalcNode, RoundingStrategy };

0 comments on commit 53fbb15

Please sign in to comment.