Pārlūkot izejas kodu

Clear highlight when clearing tooltip and crosshair

Axel Pirek 9 gadi atpakaļ
vecāks
revīzija
138a79c2fb
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      public/app/plugins/panel/graph/graph_tooltip.js

+ 1 - 0
public/app/plugins/panel/graph/graph_tooltip.js

@@ -165,6 +165,7 @@ function ($, core) {
     this.clear = function(plot) {
       $tooltip.detach();
       plot.clearCrosshair();
+      plot.unhighlight();
     };
 
     this.show = function(pos, item) {