summaryrefslogtreecommitdiff
path: root/src/layout/boxed.rs
diff options
context:
space:
mode:
authorLaurenz Mädje <laurmaedje@gmail.com>2019-06-02 18:58:37 +0200
committerLaurenz Mädje <laurmaedje@gmail.com>2019-06-02 19:15:45 +0200
commit3e9f42661ed19464f1a33c279b315dae8d1e6e83 (patch)
treec45356f99080a8ba451a88ecd1eb7bf4b53889d6 /src/layout/boxed.rs
parent221934df4b586250b0063282ef8885c475dec7a7 (diff)
Move to top-left default positioning 📐
Diffstat (limited to 'src/layout/boxed.rs')
-rw-r--r--src/layout/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/boxed.rs b/src/layout/boxed.rs
index cfdf51f2..c240db0b 100644
--- a/src/layout/boxed.rs
+++ b/src/layout/boxed.rs
@@ -22,7 +22,7 @@ impl<'a, 'p> BoxLayouter<'a, 'p> {
/// Add a sublayout.
pub fn add_layout_absolute(&mut self, position: Position, layout: Layout) {
- self.actions.push(TextAction::MoveNewline(position));
+ self.actions.push(TextAction::MoveAbsolute(position));
self.actions.extend(layout.actions);
}
}