tr7zw / ItemSwapper

Tweaks to the inventory system based on Xisumavoid's video.
Other
101 stars 30 forks source link

[BUG] Some items in lists render invisible when selected at certain GUI scales #208

Closed pajicadvance closed 5 months ago

pajicadvance commented 5 months ago

Version information

itemswapper-fabric-0.6.1-mc1.20.1

Other relevant installed mods

fabric-api-0.92.1+1.20.1

Expected Behavior

All items should be visible when selected in the list

Actual Behavior

Some items (seems like the first two from the bottom) are invisible when selected in the list

Reproduction Steps

  1. Set the GUI scale to something not the power of two (?) (on my 1080p display the bug can be seen on GUI scale 3)
  2. Put a tool in the hotbar, and add 3 or more other tools to the inventory
  3. Press the hotkey to open the overlay with the tool in the hotbar selected
  4. Observe that the first two items from the bottom appear invisible when selected image image Third item from the bottom and above render correctly image

Render engine

Additional information

I don't recall seeing this bug before 0.6

tr7zw commented 5 months ago

Will need more time to investigate this layering issue(probably?). But also affects the other mc versions.