Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown text spacing is wrong in some cases #906

Open
palette-dev opened this issue Jul 15, 2024 · 0 comments
Open

Markdown text spacing is wrong in some cases #906

palette-dev opened this issue Jul 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@palette-dev
Copy link

palette-dev commented Jul 15, 2024

Describe the bug:
The spacing of markdown text is wrong when a line is indented (has spacing in the beginning by default) by default
This issue only happens when the text scale is set to something other than 1.0
This only affects the first space of a line of text, the rest of the line is rendered with the right spacing
This also happens to wrapped text that is not part of the first line of the affected formatting

To Reproduce:

  1. Create a text element
  2. Set it to render markdown
  3. Set the text scale to something other than 1.0
  4. Add text with a default spacing in the beginning (e.g. a bullet list, a quote, ...)
  5. The spacing of the affected lines of text is wrong

Expected behavior:
The spacing is normal on every line

Game Log:
latest.log

Screenshots:
(it looks and behaves the same outside of editing mode, so I didn't include screenshots of that)

  • Text Scale 1.0:
    grafik
  • Text Scale 0.5:
    grafik
  • Text Scale 1.2:
    grafik

Basic Information:

  • OS: Windows
  • FancyMenu Version: 3.2.5
  • Fabric Version: 0.16.0
  • Minecraft Version: 1.21.0
  • Active Mods: Nothing except the FancyMenu dependencies

Notes:
The weird bullet list dot behavior was reported in another issue: #905

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

No branches or pull requests

1 participant