summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorDaniel Csillag <dccsillag@gmail.com>2023-04-05 07:04:11 -0300
committerGitHub <noreply@github.com>2023-04-05 12:04:11 +0200
commitf548223663189a47b9abb91587b53442891abc57 (patch)
tree9f66d76235cda55721366c0245dd8cd76ec2b840 /library
parentb3faef4b80a674294091066e20501e3a5d0f6103 (diff)
Fix hiding of math (#587)
Diffstat (limited to 'library')
-rw-r--r--library/src/math/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index db066522..626f3d87 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -256,6 +256,9 @@ impl Layout for EquationElem {
frame.size_mut().y = ascent + descent;
}
+ // Apply metadata.
+ frame.meta(styles, false);
+
Ok(Fragment::frame(frame))
}
}