未验证 提交 a6489e5a 编写于 作者: Y Yi Shen 提交者: GitHub

Merge pull request #12186 from apache/fix/treemap-highdown

fix: fix treemap throw brought by a9ee949d
......@@ -779,9 +779,10 @@ function renderNode(
// If invisible, do not set visual, otherwise the element will
// change immediately before animation. We think it is OK to
// remain its origin color when moving out of the view window.
processInvisible(content);
processInvisible(bg);
}
else {
bg.invisible = false;
var visualBorderColor = thisNode.getVisual('borderColor', true);
var emphasisBorderColor = itemStyleEmphasisModel.get('borderColor');
var normalStyle = getItemStyleNormal(itemStyleNormalModel);
......@@ -832,6 +833,7 @@ function renderNode(
processInvisible(content);
}
else {
content.invisible = false;
var visualColor = thisNode.getVisual('color', true);
var normalStyle = getItemStyleNormal(itemStyleNormalModel);
normalStyle.fill = visualColor;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册