summaryrefslogtreecommitdiff
path: root/library/src/math/root.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-29 16:14:04 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-29 17:44:50 +0100
commit60dfe8f8931ca0a18f07e281bdd9751fe61e5adf (patch)
tree5184c386d8ec779b9a91f3f2a7da80dab2f06aae /library/src/math/root.rs
parent8fbfa594e072aba384becaf5f4bd358bcc2ebc68 (diff)
Fix math styling
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);