Skip to content

Commit ceb13f7

Browse files
committed
tween and animate text for new points on pathbar from their parent
1 parent c91f9db commit ceb13f7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/traces/treemap/plot.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,8 @@ function plotOne(gd, cd, element, transitionOpts) {
437437
prev = prev0;
438438
} else {
439439
// for new pts:
440-
if(upDown) {
441-
prev = pt;
442-
} else {
443-
if(pt.parent) {
444-
Lib.extendFlat(prev, interpFromParent(pt, upDown));
445-
}
440+
if(pt.parent) {
441+
Lib.extendFlat(prev, interpFromParent(pt, upDown));
446442
}
447443
}
448444

0 commit comments

Comments
 (0)