mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2024-12-22 17:47:35 +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)
|
||||
return;
|
||||
|
||||
if (positionInput.Component.isFocused)
|
||||
return;
|
||||
|
||||
lastSetCameraPosition = ourCamera.transform.position;
|
||||
positionInput.Text = ParseUtility.ToStringForInput<Vector3>(lastSetCameraPosition);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user