Skip to content

Commit 838d1c3

Browse files
committedJan 27, 2020
move pathbar.remove call after pathbar.draw
1 parent 326cb04 commit 838d1c3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

Diff for: ‎src/traces/treemap/plot.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,6 @@ function plotOne(gd, cd, element, transitionOpts) {
103103
return;
104104
}
105105

106-
if(!trace.pathbar.visible) {
107-
selAncestors.remove();
108-
}
109-
110106
var isRoot = helpers.isHierarchyRoot(entry);
111107
var hasTransition = !fullLayout.uniformtext.mode && helpers.hasTransition(transitionOpts);
112108

@@ -631,5 +627,7 @@ function plotOne(gd, cd, element, transitionOpts) {
631627
hasTransition: hasTransition,
632628
strTransform: strTransform
633629
});
630+
} else {
631+
selAncestors.remove();
634632
}
635633
}

0 commit comments

Comments
 (0)
Please sign in to comment.