diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-12-02 14:48:12 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-12-02 14:48:12 +0100 |
| commit | bfa9962632dd3c2e9110f9c3667d7e3cf6b133d4 (patch) | |
| tree | c48de05a4ae1e5c97eb4f6ddc9ede32ee65cf3ef /src/library/pad.rs | |
| parent | f3bdc9d3daca2c26c4cc745be48a5ce1c8a10641 (diff) | |
Remove baseline weirdness
Diffstat (limited to 'src/library/pad.rs')
| -rw-r--r-- | src/library/pad.rs | 1 |
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 |
