stemkoski/stemkoski.github.com

move-tooltips

Closed this issue · 1 comments

This isn't an issue.

I noticed in your very helpful (thank you!) mouse-tooltip example, you have a todo for making it so that the tooltip is not partially obscured by the mouse cursor.
You can do this by simply offsetting the x and y coordinates of the canvas1.

sprite1.position.set( (event.clientX + 0), (event.clientY - 40), 0 );

(I sent an issue because I see no way on Github to simply send a message, nor can I find your email address)

Thanks!