Compare commits

..

No commits in common. "283b5e9f4d539e63c42664eea9cd66192cdf9f41" and "fac2cb08f1b80d0bd03586996da99aa42877adcb" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ bool ImGui::Button(const char* label, bool enabled) {
ImGui::BeginDisabled(); ImGui::BeginDisabled();
} }
bool res = ImGui::Button(label) && enabled; bool res = ImGui::Button(label);
if (!enabled) { if (!enabled) {
ImGui::EndDisabled(); ImGui::EndDisabled();
@ -67,7 +67,7 @@ bool ImGui::ArrowButton(const char* label, ImGuiDir dir, bool enabled) {
ImGui::BeginDisabled(); ImGui::BeginDisabled();
} }
bool res = ImGui::ArrowButton(label, dir) && enabled; bool res = ImGui::ArrowButton(label, dir);
if (!enabled) { if (!enabled) {
ImGui::EndDisabled(); ImGui::EndDisabled();

2
thirdparty/imgui vendored

@ -1 +1 @@
Subproject commit c9a53aa74d84cdb6471651f7b3da14d7248d58c7 Subproject commit bfce7750b168b5a857b4379596236dda7b58bd39