Skip to content

Commit

Permalink
Vulkan: Patch ImGui size leakage into possible empty groups
Browse files Browse the repository at this point in the history
  • Loading branch information
JKSunny committed Oct 19, 2024
1 parent aa214c6 commit 2966509
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codemp/rd-vulkan/utils/ImNodeFlow/src/ImNodeFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ namespace ImFlow {
float headerH = ImGui::GetItemRectSize().y;
float titleW = ImGui::GetItemRectSize().x;

// patch for: https://github.com/ocornut/imgui/issues/7543#issuecomment-2285935567
ImGui::Dummy( ImVec2( 0.0, 0.0 ) );

// Inputs
ImGui::BeginGroup();
for (auto &p: m_ins) {
Expand Down

0 comments on commit 2966509

Please sign in to comment.