-
Notifications
You must be signed in to change notification settings - Fork 649
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
fix: interval 默认动画调整 #1482
Conversation
@@ -29,7 +29,7 @@ export default (props) => { | |||
duration: 450, | |||
property: ['y', 'height'], | |||
start: { | |||
y: yMax, | |||
y: coord?.y[0], |
There was a problem hiding this comment.
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 的坐标值
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
直接叫 y0 吧
Checklist
npm test
passesDescription of change