-
Notifications
You must be signed in to change notification settings - Fork 277
Description
Describe the bug
I made the mod MediaToast that adds system music information to the music toast. When the text is too long, I make it scroll.
To do that, I use the enableScissor method of GuiGraphics to limit the width to the maximum width I set (a static value) after the regular renderer translated the matrix for the show/hide animation of the toast.
With Vanilla rendering it works fine, but with VulkanMod it draws the text up to the static maximum width regardless of the state of the animation:
I fixed it in my mod with calculating the correct end for the scissor (technicfan/MediaToast@78d5758) and I cannot do the same operation with the Vanilla renderer (or the text won't be drawn wide enough), so it's definitely different behavior.
Maybe related to #220 ?
(I hope Bug Report was the right category)
Steps to reproduce
- Install MediaToast (version
1.3.2) and VulkanMod - Start the game and enable the music toast in sound options
- Play media with a long title (e.g. a YouTube video)
- See the problem during the toast animations
Log files
Not relevant for this

