mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-24 09:08:52 -05:00
Fixes issue in Apple builds where imgui was referring directly to Console.Commands
This commit is contained in:
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…
Reference in New Issue
Block a user