Mojira Archive
MC-118654

The line spacing of text within all hover tooltips is larger between the first and second lines

The Bug:

The line spacing of text within all hover tooltips is larger between the first and second lines.

Steps to Reproduce:

  1. Print some hoverable text in chat by using the command provided below.
    /tellraw @s {"text":"MC-118654","hoverEvent":{"action":"show_text","contents":"MC-118654\nMC-118654\nMC-118654\nMC-118654\nMC-118654"}}
  2. Hold your mouse cursor over the text in order for a hover tooltip to be displayed.
  3. Look at the line spacing of the text within the hover tooltip.
  4. Take note as to whether or not the line spacing of text within all hover tooltips is larger between the first and second lines.

Observed Behavior:

The line spacing of text within all hover tooltips is larger between the first and second lines.

Expected Behavior:

The line spacing of text within all hover tooltips would be equal across all lines.

Code Analysis:

Code analysis by [Mod] bemoty can be found in this comment.