Skip to content

Commit

Permalink
Fix caret pivot
Browse files Browse the repository at this point in the history
  • Loading branch information
LazyDuchess committed Jun 21, 2024
1 parent 40cdeec commit 3effb0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/OpenTS2/UI/UITextEditElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public override UIComponent Instantiate(Transform parent)
inputField.Caret = caret.GetComponent<RectTransform>();
inputField.Caret.anchorMin = new Vector2(0f, 1f);
inputField.Caret.anchorMax = new Vector2(0f, 1f);
inputField.Caret.pivot = new Vector2(0.5f, 1f);
inputField.Caret.pivot = new Vector2(0f, 1f);
inputField.OnTextEdited += component.FireTextEdited;
inputField.Label.SingleLine = SingleLine;
/*
Expand Down

0 comments on commit 3effb0e

Please sign in to comment.