提交 1dda43c4 编写于 作者: P pissang

fix(pie): fix wrong label x,y in select state when position is inside

上级 45a7ef34
......@@ -388,6 +388,11 @@ export default function (
label.setStyle({
align: textAlign
});
const selectState = label.states.select;
if (selectState) {
selectState.x += label.x;
selectState.y += label.y;
}
}
sector.setTextConfig({
inside: isLabelInside
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册