提交 5b74a220 编写于 作者: S susiwen8

fix: `sunbrust` label abnormal

上级 33b4b87a
......@@ -253,7 +253,7 @@ class SunburstPiece extends graphic.Sector {
let rotate = 0;
if (rotateType === 'radial') {
rotate = normalizeRadian(-midAngle);
if (((rotate > Math.PI / 2 && rotate <= Math.PI * 1.5))) {
if (((rotate > Math.PI / 2 && rotate < Math.PI * 1.5))) {
rotate += Math.PI;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册