Merge pull request #5731 from mimimi085181/terminate-background-input

Disable Background Input when Background Input is disabled
This commit is contained in:
Leo Lam 2017-07-01 16:49:15 +02:00 committed by GitHub
commit 0f9ae6d361
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ constexpr ControlState INPUT_DETECT_THRESHOLD = 0.55;
bool ControlReference::InputGateOn()
{
return SConfig::GetInstance().m_BackgroundInput || Host_RendererHasFocus() || Host_UIHasFocus();
return SConfig::GetInstance().m_BackgroundInput || Host_RendererHasFocus();
}
//