![FancyMenu [Fabric] [MOVED TO NEW PROJECT]](https://media.forgecdn.net/avatars/thumbnails/310/137/256/256/637397690731730986.png)
Inventory screen buttons change identifiers under certain conditions
benbenlaw opened this issue ยท 3 comments
Describe the bug
Using a vanilla element to link another element causes linked element to move incorrectly with recipe book open
To Reproduce
Steps to reproduce the behavior (e.g.):
- Link button to recipe book in surivial inventory
3. Open recipe book,
4. close inventory
5. open inventory
Expected behavior
Button should stay with anchored elent
Game Log
Please always include your .minecraft/logs/latest.log
file right after the issue happened.
Please don't send the whole log as plain text here. Upload the file to https://gist.github.com and send the link.
DON'T SEND LOG SNIPPETS OR CRASH LOGS, PLEASE SEND THE WHOLE LATEST.LOG FILE!
Screenshots
included in steps
Basic Informations (please complete the following information):
- OS: Windows
- FancyMenu Version [3.4.6]
- NeoForge [21.1.122]
- Minecraft Version [1.21.1]
- Active Mods [JEI, Darkmode Everywhere]
It's probably related to the book button. maybe its position is calculated/updated in a strange way. Anchoring to normal buttons works fine, so it's probably not something I can fix.
its a strange one as when you press the recipe button the other button does move its just when the inventory is closed. i did try to anchor to the extreme sound muffler and the curio button with the same results
I ran into the same problem and came to the conclusion that for some reason, if you open the inventory, open the recipe book, close and open the inventory, the buttons IDs change. That is, if you close the inventory with an open recipe book and reopen it, it opens like a different layout with different buttons, but the ones that were manually created remain.