summaryrefslogtreecommitdiff
path: root/library/src/math/frac.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/math/frac.rs')
-rw-r--r--library/src/math/frac.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/src/math/frac.rs b/library/src/math/frac.rs
index e945473c..ebdb5c02 100644
--- a/library/src/math/frac.rs
+++ b/library/src/math/frac.rs
@@ -157,8 +157,10 @@ fn layout(
frame.push(
line_pos,
Element::Shape(
- Geometry::Line(Point::with_x(line_width))
- .stroked(Stroke { paint: ctx.fill, thickness }),
+ Geometry::Line(Point::with_x(line_width)).stroked(Stroke {
+ paint: ctx.styles().get(TextNode::FILL),
+ thickness,
+ }),
),
);
ctx.push(frame);