Skip to content

Color-coded chat messages are rendered incorrectly after changing the scale of the chat #4425

@PlatinMTA

Description

@PlatinMTA

Describe the bug

Image

Same message, different spacing between each word.

Steps to reproduce

  1. /start runcode
  2. /crun crun outputChatBox("#FF3232test #FFFFFFtest #32FF32test #3232FFtest #323232test", 0, 0, 0, true)
  3. Go to settings, interface, chat and change the scaling to something bigger (for example instead of 1.0 use 1.2)
  4. Profit

Version

Client v1.6-release-23324

Additional context

Probably just recalculating the chat after changing the scale would fix the issue.
This does not happen with messages that are not color-coded. Neither does it happen if there wasn't any color change between the same line.

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions