To add more accuracy to mouse behavior, adding the mouseover and mouseout events to trigger pointer move events for Listeners. This should be triggered if for example, a mouse is in the canvas already, and then quickly moved out of the canvas, where the browser would not trigger mousemove across that behavior. In this case, mouseout would always be called.
To add more accuracy to mouse behavior, adding the
mouseover
andmouseout
events to trigger pointer move events for Listeners. This should be triggered if for example, a mouse is in the canvas already, and then quickly moved out of the canvas, where the browser would not triggermousemove
across that behavior. In this case,mouseout
would always be called.