Tweakeroo

Tweakeroo

2M Downloads

[BUG] Empty custom lists can't be re-added to

MysticMia opened this issue ยท 2 comments

commented

When having an empty list, like the default for blockTypeBreakRestrictionWhiteList, you can try to edit the list, but there won't be a usable GUI to add/remove/edit items.
image

What I expected to happen:
I would be able to open the list editor, add a new item to this empty list, and continue playing the game.

What actually happened:
There was no option to add any new item to the list. There is just a large black box with one row of emptiness that you can't interact with. See image above.
There's a second visual glitch where hovering over tooltips while the list editor is open will show all the text through the open list editor modal. See image below.
image

Steps to reproduce:

  1. Open Minecraft, (join a singleplayer/multiplayer world)
  2. Open the Tweakeroo menu, and select the "Lists" tab
  3. Select any list, and remove all the content in it (click minus on every item); or open an empty list.
  4. Attempt to try to add an item to this empty list, but find that there is no option to do so.
commented

That green smudge is supposed to be a plus sign button that you use to add the first entry to an empty list. But the GUI rendering issues make it look pretty distorted.

image

As for the rendering issues, I've just been ignoring them because the new malilib code I've been working on has a proper fix for these, so I haven't spent time trying to hack fix it in the old code... But then again that issue does make the GUIs pretty darn hard and annoying to use, and it has already been the case since like... 1.15 or 1.16 or something(?) So maybe I should add some kind of hack fix for it until the new malilib (and the other mod rewrites) is ready to be released at some point...

commented

ah.. myeah. rip