Skip to content

Conversation

@tisilent
Copy link
Contributor

fix #4653

Comment on lines 535 to 539
const yTop = restrictToCellHeight ?
Math.ceil(padding + this._config.deviceCharHeight) - yOffset - lineWidth * 2 :
Math.ceil(padding + this._config.deviceCharHeight) - yOffset;
const yMid = yTop + lineWidth;
const yBot = yTop + lineWidth * 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, just the sort of thing I was thinking!

I'll keep a look out for any regressions as we are handling decimal values slightly differently, it seems to work after a quick test though and the change should only be with yMid which is for curly

@Tyriar Tyriar added this to the 5.3.0 milestone Aug 11, 2023
@Tyriar Tyriar self-assigned this Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

canvas renderer curly underline is cut off

2 participants