Repository navigation
fix(vrender-core): restore arc radii after drawing borders - #2173
Open
lanqing431 wants to merge 2 commits into
Open
lanqing431 wants to merge 2 commits into
lanqing431 wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更类型
Bug fix。关联 VisActor/VChart#4457。
问题与修复
圆弧设置半径 padding 和边框后,边框绘制结束时把计算后的半径保存回图元。下一帧在这些值上再次计算 padding,使圆弧轮廓逐帧漂移。
边框路径继续使用应用了 padding 的半径,绘制完成后恢复图元原有的半径。内边框和外边框照旧按各自距离绘制。
验证
vrender-core源码单测 120 套、767 项通过,3 项原有跳过。TypeScript 无输出检查、改动范围 ESLint/Prettier 通过。