fix: remove debug in IsUserCopyPasting

This commit is contained in:
TheMrGong 2021-04-30 23:05:55 -04:00
parent 65a4f4540c
commit 396dc1a1c1

View File

@ -201,9 +201,8 @@ The following helper methods are available:
internal static bool IsUserCopyPasting() internal static bool IsUserCopyPasting()
{ {
return inputsWithinThreshold > inputThreshold; return ((InputManager.GetKey(KeyCode.LeftControl) || InputManager.GetKey(KeyCode.RightControl))
return (InputManager.GetKey(KeyCode.LeftControl) || InputManager.GetKey(KeyCode.RightControl)) && InputManager.GetKeyDown(KeyCode.V)) || inputsWithinThreshold > inputThreshold;
&& InputManager.GetKeyDown(KeyCode.V);
} }
public void UpdateConsole() public void UpdateConsole()