gmmoraesbr / flot

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

Crosshair plugin removes the crosshair on mouseout even if it is locked #356

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Index: jquery.flot.crosshair.js
--- jquery.flot.crosshair.js Base (BASE)
+++ jquery.flot.crosshair.js Locally Modified (Based On LOCAL)
@@ -95,7 +95,7 @@
                 return;

             eventHolder.mouseout(function () {
-                if (crosshair.x != -1) {
+                if (crosshair.x != -1 && !crosshair.locked) {
                     crosshair.x = -1;
                     plot.triggerRedrawOverlay();
                 }

Original issue reported on code.google.com by banko.adam on 30 May 2010 at 2:23

GoogleCodeExporter commented 8 years ago
very new to flot and just encountered this myself so thanks for the code fix 
banko.adam - I wouldn't have known where to look.

regards
Nymor

Original comment by romynpg on 8 Aug 2010 at 6:26

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by olau%iol...@gtempaccount.com on 13 Dec 2010 at 4:55