Disabled InputCommand processing while you fiddle with editor UI elements

This commit is contained in:
2016-03-07 17:53:32 +01:00
parent b000bb2597
commit 8bcb15a128
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ void Game::Tick()
PerformanceTimer::StartTimerAndStopPrevious("InputProxy");
m_InputProxy->Update(dt);
m_EventBroker->Swap();
m_InputProxy->Process();
m_InputProxy->Process(ImGui::GetIO().WantCaptureKeyboard || ImGui::GetIO().WantCaptureMouse);
m_EventBroker->Swap();
PerformanceTimer::StartTimerAndStopPrevious("SoundManager");