[3PP] Bump imgui from 1.89.5 to 1.90.0

This commit is contained in:
Xphalnos 2024-10-26 08:34:40 +02:00 committed by Radosław Gliński
parent 764f230dd9
commit 0a712c0014
2 changed files with 6 additions and 6 deletions

View File

@ -1250,7 +1250,7 @@ void DebugWindow::DrawBreakpointsPane() {
int ci = 0; int ci = 0;
ImGui::Combo("##kernel_categories", &ci, its, 1, 1); ImGui::Combo("##kernel_categories", &ci, its, 1, 1);
ImGui::Dummy(ImVec2(0, 3)); ImGui::Dummy(ImVec2(0, 3));
ImGui::ListBoxHeader("##kernel_calls", 1000, 15); ImGui::BeginListBox("##kernel_calls", ImVec2(1000, 15));
auto& all_exports = emulator_->export_resolver()->all_exports_by_name(); auto& all_exports = emulator_->export_resolver()->all_exports_by_name();
auto call_rankings = xe::fuzzy_filter(state.kernel_call_filter, all_exports, auto call_rankings = xe::fuzzy_filter(state.kernel_call_filter, all_exports,
offsetof(cpu::Export, name)); offsetof(cpu::Export, name));
@ -1303,7 +1303,7 @@ void DebugWindow::DrawBreakpointsPane() {
ImGui::Dummy(ImVec2(0, 1)); ImGui::Dummy(ImVec2(0, 1));
ImGui::PopID(); ImGui::PopID();
} }
ImGui::ListBoxFooter(); ImGui::EndListBox();
ImGui::Dummy(ImVec2(0, 3)); ImGui::Dummy(ImVec2(0, 3));
if (kernel_popup_render_count == 2) { if (kernel_popup_render_count == 2) {
ImGui::SetKeyboardFocusHere(); ImGui::SetKeyboardFocusHere();
@ -1348,7 +1348,7 @@ void DebugWindow::DrawBreakpointsPane() {
ImGui::Separator(); ImGui::Separator();
ImGui::PushItemWidth(-1); ImGui::PushItemWidth(-1);
if (ImGui::ListBoxHeader("##empty", if (ImGui::BeginListBox("##empty",
ImVec2(-1, ImGui::GetContentRegionAvail().y))) { ImVec2(-1, ImGui::GetContentRegionAvail().y))) {
std::vector<Breakpoint*> to_delete; std::vector<Breakpoint*> to_delete;
for (auto& breakpoint : state.all_breakpoints) { for (auto& breakpoint : state.all_breakpoints) {
@ -1386,7 +1386,7 @@ void DebugWindow::DrawBreakpointsPane() {
} }
ImGui::PopID(); ImGui::PopID();
} }
ImGui::ListBoxFooter(); ImGui::EndListBox();
if (!to_delete.empty()) { if (!to_delete.empty()) {
for (auto breakpoint : to_delete) { for (auto breakpoint : to_delete) {
DeleteCodeBreakpoint(breakpoint); DeleteCodeBreakpoint(breakpoint);

2
third_party/imgui vendored

@ -1 +1 @@
Subproject commit 1ebb91382757777382b3629ced2a573996e46453 Subproject commit b81bd7ed984ce095c20a059dd0f4d527e006998f