Skip to content

Commit f717986

Browse files
committed
let _inHover handle the case of unified hover
1 parent 61d01e6 commit f717986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/legend/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function draw(gd, container) {
3030
var layer;
3131

3232
// Check whether this is the main legend (ie. called without any container)
33-
if(container) {
33+
if(container && container._inHover) {
3434
layer = container.layer;
3535
clipId += '-hover';
3636
} else {

0 commit comments

Comments
 (0)