Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: EdgeFilterLens在触发update时,options.r未赋值给this.r,导致配置未生效;fix: style option的ts类型应该使用CircleStyleProps #6976

Merged
merged 3 commits into from
Apr 9, 2025

Conversation

k644606347
Copy link
Contributor

@k644606347 k644606347 commented Apr 6, 2025

  • fix: 当EdgeFilterLens触发update时,options.r未赋值给this.r,导致此配置未生效;
    此问题与之前修复的fisheye plugins的问题类似,我是在编写在线体验时发现:
image
  • fix: 更新EdgeFilterLens的style option的ts类型,应该使用Partial<CircleStyleProps>更合适;

@yvonneyx yvonneyx added the OSCP label Apr 9, 2025
import { CommonEvent } from '../../constants';
import { Circle } from '../../elements';
import { Circle, CircleStyleProps } from '../../elements';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import { Circle, type CircleStyleProps } from '../../elements';

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yvonneyx 已修改

@yvonneyx
Copy link
Contributor

yvonneyx commented Apr 9, 2025

🎁 Bonus+10

@yvonneyx yvonneyx merged commit 8d529c8 into antvis:v5 Apr 9, 2025
2 checks passed
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