diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-23 15:03:10 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-23 15:23:52 +0100 |
| commit | 4653ffebb43d733a3cff873d0903c7d00aaeb499 (patch) | |
| tree | 6a97b2e6a6903b3198547d6f3d0a7e3d2eb023cd /library/src/math/root.rs | |
| parent | 84c6c8b0e6b17996a603ec88b7490107154f38f3 (diff) | |
Math module
Diffstat (limited to 'library/src/math/root.rs')
| -rw-r--r-- | library/src/math/root.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/root.rs b/library/src/math/root.rs index f5c5b2b8..2efe4e07 100644 --- a/library/src/math/root.rs +++ b/library/src/math/root.rs @@ -155,7 +155,7 @@ fn layout( /// Select a precomposed radical, if the font has it. fn precomposed(ctx: &MathContext, index: Option<&Content>, target: Abs) -> Option<Frame> { - let node = index?.to::<MathNode>()?.body.to::<AtomNode>()?; + let node = index?.to::<FormulaNode>()?.body.to::<AtomNode>()?; let c = match node.0.as_str() { "3" => '∛', "4" => '∜', |
