Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-253214

Tooltips will become offset in certain cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.1 Pre-release 3
    • 1.19
    • None
    • Community Consensus
    • UI
    • Normal

      Before 22w19a the behavior of hovering over an item in the toolbar was smooth and did not have any issues. This issue makes it a bit rough when reading lores as the text randomly will jump for certain items depending on where you are in the inventory. It should be noted that I had to be in full screen to reproduce this issue.

      22w18a:

      22w19a

      After this version, a change was made in the Screen#renderTooltipInternal class which included this new part of code (yarn parameter mappings).

      if (y - j - 8 < 0) {
          m = y + 8;
      }

      This seems to cause this issue.

       

       

            xilefian [Mojang] Felix Jones
            Owen1212055 Owen
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: