diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-16 11:10:53 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-16 11:10:53 +0100 |
| commit | ac4d501945e9b63f6b5f11c4c1a2ec0738d0b058 (patch) | |
| tree | f5edb15b151ea22a3ad436950e2f637449f2fe21 /src/library | |
| parent | 261ef9e33a8548d4b7aa53e69e71866648982ae8 (diff) | |
Move generalization/specialization methods 🚚
Diffstat (limited to 'src/library')
| -rw-r--r-- | src/library/structure.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/structure.rs b/src/library/structure.rs index 2bcd2744..59436b9b 100644 --- a/src/library/structure.rs +++ b/src/library/structure.rs @@ -149,7 +149,7 @@ macro_rules! spacefunc { layout(this, ctx) { let $var = match this.0 { Spacing::Absolute(s) => s, - Spacing::Relative(f) => Size::pt(f * ctx.style.font_size), + Spacing::Relative(f) => f * ctx.style.font_size, }; Ok(commands![$command]) |
