mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 15:00:08 +00:00
修复ChartLabel在TMP下异常报错的问题
This commit is contained in:
@@ -197,7 +197,7 @@ namespace XCharts
|
||||
switch (m_Align)
|
||||
{
|
||||
case Align.Left:
|
||||
switch (m_LabelText.text.alignment)
|
||||
switch (m_LabelText.alignment)
|
||||
{
|
||||
case TextAnchor.LowerLeft:
|
||||
case TextAnchor.UpperLeft:
|
||||
@@ -217,7 +217,7 @@ namespace XCharts
|
||||
}
|
||||
break;
|
||||
case Align.Right:
|
||||
switch (m_LabelText.text.alignment)
|
||||
switch (m_LabelText.alignment)
|
||||
{
|
||||
case TextAnchor.LowerLeft:
|
||||
case TextAnchor.UpperLeft:
|
||||
|
||||
Reference in New Issue
Block a user