Prevent update overwriting input field changes

This commit is contained in:
Sinai 2022-05-05 19:53:02 +10:00
parent 76c77fb082
commit a7a663aefa

View File

@ -171,6 +171,9 @@ namespace UnityExplorer.UI.Panels
if (!ourCamera)
return;
if (positionInput.Component.isFocused)
return;
lastSetCameraPosition = ourCamera.transform.position;
positionInput.Text = ParseUtility.ToStringForInput<Vector3>(lastSetCameraPosition);
}