mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 06:50:18 +00:00
修复Label在初始化时会堆积的问题
This commit is contained in:
@@ -86,7 +86,7 @@ namespace XCharts.Runtime
|
||||
content, Color.clear, TextAnchor.MiddleCenter);
|
||||
var pos = MarkLineHelper.GetLabelPosition(data);
|
||||
label.SetIconActive(false);
|
||||
label.SetActive(data.label.show && data.runtimeInGrid);
|
||||
label.SetActive(data.label.show && data.runtimeInGrid, true);
|
||||
label.SetPosition(pos);
|
||||
data.runtimeLabel = label;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user