From e8435df5ec718e8ecc8a2ad48e4eb3ddd1f92a72 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 16 Mar 2023 17:36:04 +0100 Subject: More jump targets --- library/src/math/frac.rs | 1 + library/src/math/root.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'library/src/math') diff --git a/library/src/math/frac.rs b/library/src/math/frac.rs index f670159d..90bc69b3 100644 --- a/library/src/math/frac.rs +++ b/library/src/math/frac.rs @@ -137,6 +137,7 @@ fn layout( paint: TextNode::fill_in(ctx.styles()), thickness, }), + span, ), ); ctx.push(FrameFragment::new(ctx, frame)); diff --git a/library/src/math/root.rs b/library/src/math/root.rs index 1ab99b2b..b4756b9d 100644 --- a/library/src/math/root.rs +++ b/library/src/math/root.rs @@ -127,6 +127,7 @@ fn layout( Element::Shape( Geometry::Line(Point::with_x(radicand.width())) .stroked(Stroke { paint: TextNode::fill_in(ctx.styles()), thickness }), + span, ), ); -- cgit v1.2.3