summaryrefslogtreecommitdiff
path: root/library/src/math/root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/math/root.rs')
-rw-r--r--library/src/math/root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/root.rs b/library/src/math/root.rs
index 79bcfe38..1416325c 100644
--- a/library/src/math/root.rs
+++ b/library/src/math/root.rs
@@ -144,7 +144,7 @@ fn layout(
line_pos,
Element::Shape(
Geometry::Line(Point::with_x(line_length))
- .stroked(Stroke { paint: ctx.fill, thickness }),
+ .stroked(Stroke { paint: ctx.styles().get(TextNode::FILL), thickness }),
),
);
frame.push_frame(radicand_pos, radicand);