Skip to content

fix(radar): improve logic and add test cases of #21081 - #21124

Merged
Ovilia merged 1 commit into
masterfrom
fix-radar
Jul 22, 2025
Merged

Ovilia merged 1 commit into
masterfrom
fix-radar

Conversation

@Ovilia

@Ovilia Ovilia commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

#21081 fixes the case of blur.itemStyle not working.

const pathEmphasisState = symbolPath.ensureState('emphasis');
pathEmphasisState.style = zrUtil.clone(itemHoverStyle);

These lines are not needed any more because it's done in the loop of zrUtil.each(['emphasis', 'select', 'blur'], ....

And this PR also add visual tests for the PR.

Fixed issues

Details

Before: What was the problem?

After: How does it behave after the fixing?

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • Please squash the commits into a single one when merging.

Other information

@Ovilia Ovilia mentioned this pull request Jul 22, 2025
2 of 8 tasks
@Ovilia Ovilia added this to the 6.0.0 milestone Jul 22, 2025
@github-actions

Copy link
Copy Markdown
Contributor

The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-21124@0c2a305

@Ovilia
Ovilia merged commit 6be0e14 into master Jul 22, 2025
@Ovilia
Ovilia deleted the fix-radar branch July 22, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants