summaryrefslogtreecommitdiff
path: root/src/library/columns.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-05 14:49:14 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-05 15:06:42 +0100
commitf7e8624b4cf31744d600167dd7f3a9d9d1626014 (patch)
tree0941c8db497befc47a666d3d1384db4ab9fc5133 /src/library/columns.rs
parent4c81a5d43eabd959dbb500a8076f99f21bd037bd (diff)
Refactor
Diffstat (limited to 'src/library/columns.rs')
-rw-r--r--src/library/columns.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/columns.rs b/src/library/columns.rs
index 17ae6058..ce02b508 100644
--- a/src/library/columns.rs
+++ b/src/library/columns.rs
@@ -98,7 +98,7 @@ impl Layout for ColumnsNode {
// case, the frame is first created with zero height and then
// resized.
let height = if regions.expand.y { current.y } else { Length::zero() };
- let mut output = Frame::new(Spec::new(regions.current.x, height));
+ let mut output = Frame::new(Size::new(regions.current.x, height));
let mut cursor = Length::zero();
for _ in 0 .. columns {