FancyMenu

FancyMenu

81M Downloads

Markdown text spacing is wrong in some cases

palette-dev opened this issue ยท 0 comments

commented

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