From 89378700f7c415848d6d329be8940f45d11f0a1e Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 6 Jun 2021 14:24:29 -0700 Subject: [PATCH] Fix incorrect check for Top-left in ShowDebugOverlay --- Runtime/ImGuiConsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/ImGuiConsole.cpp b/Runtime/ImGuiConsole.cpp index 342008aaa..eb953ed89 100644 --- a/Runtime/ImGuiConsole.cpp +++ b/Runtime/ImGuiConsole.cpp @@ -873,7 +873,7 @@ void ImGuiConsole::ShowDebugOverlay() { if (ImGui::MenuItem("Custom", nullptr, m_debugOverlayCorner == -1)) { m_debugOverlayCorner = -1; } - if (ImGui::MenuItem("Top-left", nullptr, m_debugOverlayCorner == 0, m_inputOverlayCorner != 1)) { + if (ImGui::MenuItem("Top-left", nullptr, m_debugOverlayCorner == 0, m_inputOverlayCorner != 0)) { m_debugOverlayCorner = 0; } if (ImGui::MenuItem("Top-right", nullptr, m_debugOverlayCorner == 1, m_inputOverlayCorner != 1)) {