both possible
This commit is contained in:
parent
7ea0a37013
commit
1022fdcbe2
1 changed files with 2 additions and 2 deletions
|
@ -463,7 +463,7 @@ proc fillText*(
|
||||||
arrangement.selectionRects[runeIndex].w,
|
arrangement.selectionRects[runeIndex].w,
|
||||||
underlineThickness
|
underlineThickness
|
||||||
)
|
)
|
||||||
elif font.strikethrough:
|
if font.strikethrough:
|
||||||
path.rect(
|
path.rect(
|
||||||
arrangement.selectionRects[runeIndex].x,
|
arrangement.selectionRects[runeIndex].x,
|
||||||
position.y - strikeoutPosition,
|
position.y - strikeoutPosition,
|
||||||
|
@ -535,7 +535,7 @@ proc strokeText*(
|
||||||
arrangement.selectionRects[runeIndex].w,
|
arrangement.selectionRects[runeIndex].w,
|
||||||
underlineThickness
|
underlineThickness
|
||||||
)
|
)
|
||||||
elif font.strikethrough:
|
if font.strikethrough:
|
||||||
path.rect(
|
path.rect(
|
||||||
arrangement.selectionRects[runeIndex].x,
|
arrangement.selectionRects[runeIndex].x,
|
||||||
position.y - strikeoutPosition,
|
position.y - strikeoutPosition,
|
||||||
|
|
Loading…
Reference in a new issue