Fix extent
for text decoration (#2308)
This commit is contained in:
parent
a4e357fb37
commit
55095246bf
@ -403,7 +403,7 @@ pub(super) fn decorate(
|
||||
let min_width = 0.162 * text.size;
|
||||
|
||||
let start = pos.x - deco.extent;
|
||||
let end = pos.x + (width + 2.0 * deco.extent);
|
||||
let end = pos.x + width + deco.extent;
|
||||
|
||||
let mut push_segment = |from: Abs, to: Abs, prepend: bool| {
|
||||
let origin = Point::new(from, pos.y + offset);
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Loading…
x
Reference in New Issue
Block a user