mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Prevent update overwriting input field changes
This commit is contained in:
1 parent
76c77fb082
commit
a7a663aefa
1 file changed
+3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user