Skip to content

Commit

Permalink
Fix incorrect imgui endchild behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Nov 11, 2024
1 parent fb58d99 commit 7f4ce14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions platforms/shared/desktop/gui_debug_huc6270.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,9 @@ void gui_debug_window_huc6270_background(void)
}
}
}

ImGui::EndChild();
}

ImGui::EndChild();
ImGui::End();
ImGui::PopStyleVar();
}
Expand Down
4 changes: 2 additions & 2 deletions platforms/shared/desktop/gui_debug_trace_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ void gui_debug_window_trace_logger(void)
}

ImGui::PopFont();

ImGui::EndChild();
}

ImGui::EndChild();

ImGui::End();
ImGui::PopStyleVar();
}
Expand Down

0 comments on commit 7f4ce14

Please sign in to comment.