diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:50:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:50:20 +0100 |
| commit | a93b1ab003affb0d72e9da4007b04a2a6cfd4462 (patch) | |
| tree | bdc6f1c14259e7745fa59c7e51d8327ee5df3061 /src/layout/tree.rs | |
| parent | 2ee5810fecb96a8d4e0d078faecc8c91096d6881 (diff) | |
Formatting 🛀
Diffstat (limited to 'src/layout/tree.rs')
| -rw-r--r-- | src/layout/tree.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout/tree.rs b/src/layout/tree.rs index f645a35d..238c45fc 100644 --- a/src/layout/tree.rs +++ b/src/layout/tree.rs @@ -4,7 +4,6 @@ use smallvec::smallvec; use crate::func::Command; use crate::syntax::{SyntaxTree, Node, FuncCall}; -use crate::style::TextStyle; use super::*; @@ -148,7 +147,7 @@ impl<'a, 'p> TreeLayouter<'a, 'p> { } SetAlignment(alignment) => self.ctx.alignment = alignment, SetAxes(axes) => { - self.layouter.set_axes(axes); + self.layouter.set_axes(axes)?; self.ctx.axes = axes; } } |
