summaryrefslogtreecommitdiff
path: root/src/library/pad.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-12-02 14:48:12 +0100
committerLaurenz <laurmaedje@gmail.com>2021-12-02 14:48:12 +0100
commitbfa9962632dd3c2e9110f9c3667d7e3cf6b133d4 (patch)
treec48de05a4ae1e5c97eb4f6ddc9ede32ee65cf3ef /src/library/pad.rs
parentf3bdc9d3daca2c26c4cc745be48a5ce1c8a10641 (diff)
Remove baseline weirdness
Diffstat (limited to 'src/library/pad.rs')
-rw-r--r--src/library/pad.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/library/pad.rs b/src/library/pad.rs
index 05cc30b7..681da73e 100644
--- a/src/library/pad.rs
+++ b/src/library/pad.rs
@@ -51,7 +51,6 @@ impl Layout for PadNode {
// Grow the frame and translate everything in the frame inwards.
let frame = Rc::make_mut(frame);
frame.size = padded;
- frame.baseline += offset.y;
frame.translate(offset);
// Set exact and base constraints if the child had them. Also set