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: interval 默认动画调整 #1482

Merged
merged 3 commits into from
May 19, 2022
Merged

Conversation

ACERY1
Copy link
Member

@ACERY1 ACERY1 commented May 18, 2022

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Description of change

@@ -29,7 +29,7 @@ export default (props) => {
duration: 450,
property: ['y', 'height'],
start: {
y: yMax,
y: coord?.y[0],
Copy link
Member

Choose a reason for hiding this comment

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

这个不对的,coord.y 是坐标的canvas 范围,不是 y=0 的坐标值

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

好了

@@ -112,6 +122,7 @@ export default (Views) => {
showLabel={showLabel}
labelCfg={labelCfg}
LabelView={LabelView}
pointY0={pointY0}
Copy link
Member

Choose a reason for hiding this comment

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

直接叫 y0 吧

@zengyue zengyue merged commit 6bb1c68 into master May 19, 2022
@zengyue zengyue deleted the ms/fix/defaultIntervalAnimation branch May 19, 2022 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants