mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
Fixes issue in Apple builds where imgui was referring directly to Console.Commands
This commit is contained in:
parent
6484d9354d
commit
6766719969
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ namespace SohImGui {
|
||||||
if ((ImGui::IsKeyDown(ImGuiKey_LeftSuper) ||
|
if ((ImGui::IsKeyDown(ImGuiKey_LeftSuper) ||
|
||||||
ImGui::IsKeyDown(ImGuiKey_RightSuper)) &&
|
ImGui::IsKeyDown(ImGuiKey_RightSuper)) &&
|
||||||
ImGui::IsKeyPressed(ImGuiKey_R, false)) {
|
ImGui::IsKeyPressed(ImGuiKey_R, false)) {
|
||||||
console->Commands["reset"].handler(emptyArgs);
|
console->Dispatch("reset");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) ||
|
if ((ImGui::IsKeyDown(ImGuiKey_LeftCtrl) ||
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue