gmmoraesbr / flot

Automatically exported from code.google.com/p/flot
0 stars 0 forks source link

crosshair locking not immune for mouse events (+ fix) #332

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

just tested the crosshair plugin and noticed something that was probably 
overlooked. When using lockCrosshair the crosshair disappears after mouseout.

I fixed it by ...
1) shifting "if (crosshair.locked) return;" to the beginning of the  
mousemove() eventhandler
2) adding "if (crosshair.locked) return;" to the beginning of the mouseout() 
eventhandler

keep up the good work,
Fred

Original issue reported on code.google.com by fdepu...@gmail.com on 15 Apr 2010 at 12:40

GoogleCodeExporter commented 8 years ago
Ah, yes. Well spotted! Another guy spotted the second one yesterday or the day 
before
I think, but I've just fixed the first. It's now in SVN. Thanks!

Original comment by olau%iol...@gtempaccount.com on 15 Apr 2010 at 5:35