Animated images prematurely restart
Closed this issue ยท 1 comments
Describe the bug
When attempting to use a non-looping animated image on the loading screen, the animation will restart itself briefly before closing the loading screen regardless of its Restart Animated Textures When Opening Screen setting.
To Reproduce
- Create a new layout for the loading screen or edit an existing one
- Add an image element set to a non-looping FMA animation. An example using the Mojang Studios logo is attached: 7jn1qh.fma
- Save and enable the layout, and trigger the loading screen (e.g. reloading resource packs, starting game)
- Observe animation restarting itself before the screen is fully closed
Expected behavior
An animation should not restart before the screen is fully closed. I attempted to work around this by disabling a variable when the screen closes and setting the load requirements of the animation to that variable, but the close hook seemingly triggers after the animation has already restarted.
Game Log
https://gist.github.com/ClaytonTDM/271dcd05da325e3ab3773b054832a225
Screenshots
https://github.com/user-attachments/assets/44e1f467-8d2d-462d-99b5-c9a26ae6cfc8
Basic Information (please complete the following information):
- OS: NixOS 25.11 (Xantusia)
- Drippy Version: 3.0.15
- FancyMenu Version: 3.7.1
- Fabric Version: 0.717.3
- Minecraft Version: 1.21.8
- Active Mods: Minimum requirements (Drippy Loading Screen, Fabric API, FancyMenu, Konkrete, Melody)