Fix toggle imgui input shortcut not working when input is enabled (happening in Lyra)

This commit is contained in:
Arnaud Jamin
2025-01-24 11:43:00 -05:00
parent cf027e4074
commit b08c8768c7
@@ -169,6 +169,11 @@ FReply SCogImguiWidget::HandleKeyEvent(const FKeyEvent& KeyEvent, bool Down)
return FReply::Unhandled();
}
if (IO.WantTextInput == false)
{
return FReply::Unhandled();
}
return FReply::Handled();
}