- Pressing space to open visject context menu now ignores the space char as input

This commit is contained in:
Nils Hausfeld
2023-09-21 18:02:00 +02:00
parent 97ed46bc4f
commit d19984d3e9

View File

@@ -706,6 +706,8 @@ namespace FlaxEditor.Surface
{
if (_inputBrackets.Count == 0)
{
if (currentInputText.StartsWith(' '))
currentInputText = "";
ResetInput();
ShowPrimaryMenu(_mousePos, false, currentInputText);
}