mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 17:30:10 +00:00
修复TMP下报错
This commit is contained in:
@@ -275,11 +275,7 @@ namespace XCharts.Runtime
|
|||||||
case Align.BottomCenter:
|
case Align.BottomCenter:
|
||||||
case Align.BottomLeft:
|
case Align.BottomLeft:
|
||||||
case Align.BottomRight:
|
case Align.BottomRight:
|
||||||
#if dUI_TextMeshPro
|
|
||||||
case TextAlignmentOptions.Bottom:
|
|
||||||
case TextAlignmentOptions.BottomLeft:
|
|
||||||
case TextAlignmentOptions.BottomRight:
|
|
||||||
#endif
|
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
@@ -293,11 +289,6 @@ namespace XCharts.Runtime
|
|||||||
case Align.TopCenter:
|
case Align.TopCenter:
|
||||||
case Align.TopLeft:
|
case Align.TopLeft:
|
||||||
case Align.TopRight:
|
case Align.TopRight:
|
||||||
#if dUI_TextMeshPro
|
|
||||||
case TextAlignmentOptions.Top:
|
|
||||||
case TextAlignmentOptions.TopLeft:
|
|
||||||
case TextAlignmentOptions.TopRight:
|
|
||||||
#endif
|
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
@@ -311,11 +302,6 @@ namespace XCharts.Runtime
|
|||||||
case Align.Center:
|
case Align.Center:
|
||||||
case Align.CenterLeft:
|
case Align.CenterLeft:
|
||||||
case Align.CenterRight:
|
case Align.CenterRight:
|
||||||
#if dUI_TextMeshPro
|
|
||||||
case TextAlignmentOptions.Center:
|
|
||||||
case TextAlignmentOptions.CenterLeft:
|
|
||||||
case TextAlignmentOptions.CenterRight:
|
|
||||||
#endif
|
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user