Confirm dialogs with space
This commit is contained in:
@@ -39,7 +39,7 @@ namespace UIFixes
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter))
|
if (Input.GetKeyDown(KeyCode.Return) || Input.GetKeyDown(KeyCode.KeypadEnter) || Input.GetKeyDown(KeyCode.Space))
|
||||||
{
|
{
|
||||||
AcceptMethod.Invoke(__instance, []);
|
AcceptMethod.Invoke(__instance, []);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user