|
|
|
@ -117,7 +117,6 @@ The plugin allso adds the following methods to the plot object:
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// cancel out any text selections
|
|
|
|
// cancel out any text selections
|
|
|
|
document.body.focus();
|
|
|
|
document.body.focus();
|
|
|
|
|
|
|
|
|
|
|
|
@ -338,7 +337,6 @@ The plugin allso adds the following methods to the plot object:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plot.hooks.drawOverlay.push(function(plot, ctx) {
|
|
|
|
plot.hooks.drawOverlay.push(function(plot, ctx) {
|
|
|
|
// draw selection
|
|
|
|
// draw selection
|
|
|
|
if (selection.show && selectionIsSane()) {
|
|
|
|
if (selection.show && selectionIsSane()) {
|
|
|
|
|