diff options
Diffstat (limited to 'src/layout/model.rs')
| -rw-r--r-- | src/layout/model.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/model.rs b/src/layout/model.rs index 3fb594d5..c78c733e 100644 --- a/src/layout/model.rs +++ b/src/layout/model.rs @@ -9,7 +9,7 @@ use smallvec::smallvec; use crate::{Pass, Feedback}; use crate::SharedFontLoader; use crate::style::{LayoutStyle, PageStyle, TextStyle}; -use crate::length::{Length, Size}; +use crate::geom::Size; use crate::syntax::{Model, SyntaxModel, Node, Decoration}; use crate::syntax::span::{Span, Spanned}; use super::line::{LineLayouter, LineContext}; @@ -74,7 +74,7 @@ pub enum Command<'a> { /// Add spacing of given [kind](super::SpacingKind) along the primary or /// secondary axis. The spacing kind defines how the spacing interacts with /// surrounding spacing. - AddSpacing(Length, SpacingKind, GenericAxis), + AddSpacing(f64, SpacingKind, GenericAxis), /// Start a new line. BreakLine, |
