fix(gauge): fix progress bar may become unexpectedly circle when value is 0 and progress.roundCap is enabled.#16653
Conversation
… `0` and `progress.roundCap` is enabled, resolves #16640.
|
Thanks for your contribution! The pull request is marked to be |
|
It seems the |
|
Seems it's bacause in the case the clockwise is set to |
@pissang The example on the website looks well since it disables the animation when the pointer is 60. And we can see the switch from 59 to 60 has no animation. |
|
LGTM |
|
Congratulations! Your PR has been merged. Thanks for your contribution! 👍 |




Brief Information
This pull request is in the type of:
What does this PR do?
0andprogress.roundCapis enabled.Fixed issues
Details
Before: What was the problem?
After: How is it fixed in this PR?
Misc
Related test cases or examples to use the new APIs
Please refer to
test/gauge-case.html.Others
Merging options
Other information