mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2024-12-22 22:47:24 +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