Skip to content

Conversation

qaisjp
Copy link
Contributor

@qaisjp qaisjp commented Apr 23, 2019

Previously the render bounds for a singular chat line would be the entire chat render bounds. This has now been fixed to be the height of a single line.

Also fixes a minor off-by-one logical error in CChat::DrawTextString relating to render boundaries. I am not sure if this fix here is correct.

See #557 (comment).

Previously the render bounds for a singular chat line would be the
entire chat render bounds.

Now the render bounds for a singular chat line are:
- left: chat line x
- top: chat line y
- right: entire chat right
- bottom: chat line y + chat line height

Also fixes a minor off-by-one logical error in CChat::DrawTextString
relating to render boundaries.
@qaisjp qaisjp added the bug Something isn't working label Apr 23, 2019
@qaisjp qaisjp added this to the 1.5.7 milestone Apr 24, 2019
@qaisjp qaisjp requested a review from a team April 24, 2019 20:21
@obuhhh
Copy link

obuhhh commented Apr 25, 2019

Nice work!

@sbx320
Copy link
Member

sbx320 commented Apr 27, 2019

Looks good to me, although I'm unable to try.

@qaisjp qaisjp merged commit d514511 into master Apr 27, 2019
@qaisjp qaisjp deleted the bugfix/zalgo-chat branch April 27, 2019 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants