Fixes issue in Apple builds where imgui was referring directly to Console.Commands

pull/1023/head^2
Kenix3 10 months ago
parent 6484d9354d
commit 6766719969

@ -861,7 +861,7 @@ namespace SohImGui {
if ((ImGui::IsKeyDown(ImGuiKey_LeftSuper) ||
ImGui::IsKeyDown(ImGuiKey_RightSuper)) &&
ImGui::IsKeyPressed(ImGuiKey_R, false)) {
console->Commands["reset"].handler(emptyArgs);
console->Dispatch("reset");
}
#else
if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) ||

Loading…
Cancel
Save