From 445a93d040b2d0ee2ad7c567318026643846f099 Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Sat, 20 Nov 2021 15:20:39 +0000 Subject: [PATCH] remind myself to make debugui handle input properly --- demo/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/main.cpp b/demo/main.cpp index c54a40a..4a9c903 100644 --- a/demo/main.cpp +++ b/demo/main.cpp @@ -333,6 +333,7 @@ public: void update() override { process_camera(m_world, m_inputs); + // JWR - this doesn't really seem like it belongs in the game scene... if ( m_inputs->keyboard.pressed(glfwGetKeyScancode(GLFW_KEY_F10)) ) { auto dbgui = fggl::util::ServiceLocator::instance().providePtr<fggl::debug::DebugUI>(); dbgui->visible( !dbgui->visible() ); -- GitLab