missed a couple spots

This commit is contained in:
briaguya 2022-06-29 20:09:06 -04:00 committed by Kenix3
parent b8602994fb
commit 8615418630

View File

@ -764,7 +764,7 @@ namespace SohImGui {
if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) || if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) ||
ImGui::IsKeyDown(ImGuiKey_RightCtrl)) && ImGui::IsKeyDown(ImGuiKey_RightCtrl)) &&
ImGui::IsKeyPressed(ImGuiKey_R, false)) { ImGui::IsKeyPressed(ImGuiKey_R, false)) {
console->Commands["reset"].handler(noArgs); console->Commands["reset"].handler(emptyArgs);
} }
#endif #endif
@ -784,7 +784,7 @@ namespace SohImGui {
"Ctrl+R" "Ctrl+R"
#endif #endif
)) { )) {
console->Commands["reset"].handler(noArgs); console->Commands["reset"].handler(emptyArgs);
} }
ImGui::EndMenu(); ImGui::EndMenu();
} }