I've read 3-5 topics about mouse offset, but i still can't get where is the mess.
In my case everything works fine in 60%. In other 40% mouse is offset. Demo here.
Sometimes object position doesn't relate to mouse behavior. (IE & Chrome have the bigest mess)
I've tried to edit stylesheets and parent div but nothing. The worst thing: i don't see any regularity. I will be greatful for any help.
You can do this:
canvas.on("after:render", function(){ canvas.calcOffset() });
I only do this after I create canvas. This is interim call when there is no resize event. That is when bug appears.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With