From 398fee2d9781ba4a8a1424183dac16f3d2fcdc3a Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Wed, 22 Feb 2023 22:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DTMP=E4=B8=8B=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Component/Child/Location.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Runtime/Component/Child/Location.cs b/Runtime/Component/Child/Location.cs index c61de59a..cc576bd2 100644 --- a/Runtime/Component/Child/Location.cs +++ b/Runtime/Component/Child/Location.cs @@ -275,11 +275,7 @@ namespace XCharts.Runtime case Align.BottomCenter: case Align.BottomLeft: case Align.BottomRight: -#if dUI_TextMeshPro - case TextAlignmentOptions.Bottom: - case TextAlignmentOptions.BottomLeft: - case TextAlignmentOptions.BottomRight: -#endif + return true; default: return false; @@ -293,11 +289,6 @@ namespace XCharts.Runtime case Align.TopCenter: case Align.TopLeft: case Align.TopRight: -#if dUI_TextMeshPro - case TextAlignmentOptions.Top: - case TextAlignmentOptions.TopLeft: - case TextAlignmentOptions.TopRight: -#endif return true; default: return false; @@ -311,11 +302,6 @@ namespace XCharts.Runtime case Align.Center: case Align.CenterLeft: case Align.CenterRight: -#if dUI_TextMeshPro - case TextAlignmentOptions.Center: - case TextAlignmentOptions.CenterLeft: - case TextAlignmentOptions.CenterRight: -#endif return true; default: return false;