瀏覽代碼

Clear highlight when clearing tooltip and crosshair

Axel Pirek 9 年之前
父節點
當前提交
138a79c2fb
共有 1 個文件被更改,包括 1 次插入0 次删除
  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) {