mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-01-04 00:23:31 +08:00
Prevent update overwriting input field changes
This commit is contained in:
parent
76c77fb082
commit
a7a663aefa
@ -171,6 +171,9 @@ namespace UnityExplorer.UI.Panels
|
|||||||
if (!ourCamera)
|
if (!ourCamera)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (positionInput.Component.isFocused)
|
||||||
|
return;
|
||||||
|
|
||||||
lastSetCameraPosition = ourCamera.transform.position;
|
lastSetCameraPosition = ourCamera.transform.position;
|
||||||
positionInput.Text = ParseUtility.ToStringForInput<Vector3>(lastSetCameraPosition);
|
positionInput.Text = ParseUtility.ToStringForInput<Vector3>(lastSetCameraPosition);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user