Skip to content

Commit

Permalink
Actually add the 2D keybind option under keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jan 1, 2024
1 parent 000afa8 commit 43828fc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mods/VR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 43828fc

Please sign in to comment.