We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c744ef commit 8cd9dbaCopy full SHA for 8cd9dba
1 file changed
demos/computeflocking/src/computeflockingapp.cpp
@@ -123,7 +123,7 @@ namespace nap
123
if (ImGui::CollapsingHeader("Bloom Texture", ImGuiTreeNodeFlags_DefaultOpen))
124
{
125
const float aspect = coloradjust_comp->getOutputTexture().getHeight() / static_cast<float>(coloradjust_comp->getOutputTexture().getWidth());
126
- const float width = ImGui::GetWindowContentRegionWidth();
+ const float width = ImGui::GetContentRegionAvail().x;
127
ImGui::Image(coloradjust_comp->getOutputTexture(), { width, width * aspect });
128
}
129
ImGui::End();
0 commit comments