Skip to content

Commit ef7b145

Browse files
committed
Fixed text container, again for revert.
1 parent 678a6ce commit ef7b145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/JCSUnity/Scripts/GUI/JCS_TextDeltaNumber.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/* NOTE: If you are using `TextMesh Pro` uncomment this line.
1111
*/
12-
#define TMP_PRO
12+
//#define TMP_PRO
1313

1414
using System.Collections;
1515
using System.Collections.Generic;
@@ -226,7 +226,7 @@ private void UpdateTextRender()
226226
#if TMP_PRO
227227
if (mTextContainer == null && mTextMesh == null)
228228
#else
229-
if (mText == null)
229+
if (mTextContainer == null)
230230
#endif
231231
{
232232
JCS_Debug.LogError("Text slot cannot be null references...");

0 commit comments

Comments
 (0)