From 43828fcd36d6cc7a360ae28590f7330779674cda Mon Sep 17 00:00:00 2001 From: praydog Date: Mon, 1 Jan 2024 11:20:49 -0800 Subject: [PATCH] Actually add the 2D keybind option under keybinds --- src/mods/VR.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mods/VR.cpp b/src/mods/VR.cpp index d4917ddf..852cf640 100644 --- a/src/mods/VR.cpp +++ b/src/mods/VR.cpp @@ -2232,6 +2232,13 @@ void VR::on_draw_sidebar_entry(std::string_view name) { m_keybind_load_camera_1->draw("Load Camera 1 Key"); m_keybind_load_camera_2->draw("Load Camera 2 Key"); } + + ImGui::SetNextItemOpen(true, ImGuiCond_::ImGuiCond_Once); + if (ImGui::TreeNode("Overlay Keys")) { + m_keybind_toggle_2d_screen->draw("Toggle 2D Screen Mode Key"); + + ImGui::TreePop(); + } } if (selected_page == PAGE_CONSOLE) {