浏览代码

HUE-8649 [frontend] Fix issue with flickering tooltip in the performance graph

Johan Ahlen 7 年之前
父节点
当前提交
362339d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/templates/ko_components/ko_performance_graph.mako

+ 1 - 1
desktop/core/src/desktop/templates/ko_components/ko_performance_graph.mako

@@ -291,7 +291,7 @@
                         .select('.highlight-point-' + options.id)
                         .remove();
 
-                mainGroup.append('circle')
+                mainGroup.insert('circle', '.overlay')
                         .attr('class', 'highlight-point highlight-point-' + options.id)
                         .style('display', enabled ? null : 'none')
                         .attr('stroke', '#FFF')