edisona / flot

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

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 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.a...@gmail.com on 30 May 2010 at 2:23

GoogleCodeExporter commented 9 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 9 years ago
Thanks!

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