mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 01:48:07 +08:00
C# Console: Fix autocomplete caret deselection
This commit is contained in:
1 parent
08f2c6035e
commit
f174c7543a
1 file changed
+3
-8
@@ -390,16 +390,11 @@ namespace UnityExplorer.CSConsole
|
||||
color.a = 0f;
|
||||
Input.Component.selectionColor = color;
|
||||
|
||||
EventSystemHelper.SetSelectedGameObject(null);
|
||||
|
||||
yield return null; // ~~~~~~~ YIELD FRAME ~~~~~~~~~
|
||||
|
||||
EventSystemHelper.SetSelectedGameObject(null);
|
||||
|
||||
yield return null; // ~~~~~~~ YIELD FRAME ~~~~~~~~~
|
||||
|
||||
EventSystemHelper.SetSelectionGuard(false);
|
||||
Input.Component.Select();
|
||||
|
||||
yield return null; // ~~~~~~~ YIELD FRAME ~~~~~~~~~
|
||||
|
||||
Input.Component.caretPosition = caretPosition;
|
||||
Input.Component.selectionFocusPosition = caretPosition;
|
||||
LastCaretPosition = Input.Component.caretPosition;
|
||||
|
||||
Reference in new issue
Block a user