dolda2000 / hafen-client

Haven & Hearth client
Other
36 stars 192 forks source link

Fix tooltip for a lower half of a buff #9

Closed elsid closed 4 years ago

elsid commented 4 years ago

Before only upper half of a buff is sensetive to cursor because a Hidepanel containing Bufflist fit only upper half of a buff. Initialize Bufflist with a buff size to properly resize Hidepanel to be able to get a tooltip from any part of a buff.

dolda2000 commented 4 years ago

This is technically not really enough, since it still won't work when the bufflist has more than one row of buffs, so to be complete, some dynamically resizing solution is required, but until I get around to that, I guess this is a lot better than nothing.

I've merged the changes, but I'm not sure if GitHub will pick up on that since I've also rebased them. Let's leave the pull request up a bit and see.

dolda2000 commented 4 years ago

Apparently GitHub doesn't pick up on it, so I guess I'll just have to close the request.