Cloth API (Fabric)

Cloth API (Fabric)

12M Downloads

Tooltip shouldn't render on the left if the left has less space than right

sargunv opened this issue ยท 3 comments

commented

Currently, the tooltip renders to the right of the cursor unless it can't fit, in which case it renders to the left. This logic results in the tooltip sometimes rendering on the left even when more of it would be visible on the right. It should only render on the left iff it doesn't fit on the right and the mouse is to the right of the center of the screen.

https://streamable.com/ov6ko

commented

Blame mojang for that

commented

Blame mojang for that

commented

Oh, didn't realize tooltips are a Mojang thing. I may add an auto-wrapping option to auto-config to work around it.