wisp-forest / owo-lib

Open ωorthωhile Operations, yes the acronym was "totally accidental"
https://modrinth.com/mod/owo-lib
MIT License
191 stars 37 forks source link

ClickEvent that opens a url on LabelCompenent went wrong #214

Closed zly2006 closed 7 months ago

zly2006 commented 8 months ago

If you add a label component with a open url click event, the game will ask if you are sure to open that url, after you click yes or no, the screen should be the original screen.

however, it is a UtilityScreen, I tried to investigate it and found io.wispforest.owo.ui.component.LabelComponent#textClickHandler, I think this is possible why it becomes UtilityScreen -- it created a LinkConfirmScreen as the parent is itself.

gliscowo commented 7 months ago

Thanks for your report! This has now been fixed in 0.12.5

Cheers