This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch fix/corner-radius-reset
in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/fix/corner-radius-reset by
this push:
new 2d98a5c chore: tweak comment.
2d98a5c is described below
commit 2d98a5cdd317fbf58faddbadb49c86484e354a6b
Author: plainheart <[email protected]>
AuthorDate: Sat Jun 26 01:11:00 2021 +0800
chore: tweak comment.
---
src/chart/pie/PieView.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chart/pie/PieView.ts b/src/chart/pie/PieView.ts
index 8ed66e3..043654d 100644
--- a/src/chart/pie/PieView.ts
+++ b/src/chart/pie/PieView.ts
@@ -59,7 +59,7 @@ class PiePiece extends graphic.Sector {
const itemModel = data.getItemModel<PieDataItemOption>(idx);
const emphasisModel = itemModel.getModel('emphasis');
const layout = data.getItemLayout(idx) as graphic.Sector['shape'];
- // cornerRadius & innerCornerRadius may not exist in initial layout.
Use `0` if null value is specified.
+ // cornerRadius & innerCornerRadius doesn't exist in the item layout.
Use `0` if null value is specified.
// see `setItemLayout` in `pieLayout.ts`.
const sectorShape = extend(
getSectorCornerRadius(itemModel.getModel('itemStyle'), layout,
true),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]