Fixed ImGui minimize action

This commit is contained in:
Willem Cazander 2022-02-08 21:21:33 +01:00
parent 88c4874827
commit f0d0a43c3a
7 changed files with 294 additions and 294 deletions

View file

@ -36,12 +36,13 @@ public class ImFrameˣᴹᴵ extends AbstractImComponentSetˣᴹᴵ {
public void renderBegin() {
ImGui.setNextWindowPos(nextWindowPosX, nextWindowPosY, nextWindowPosCond);
ImGui.setNextWindowSize(nextWindowSizeWidth, nextWindowSizeHeight, nextWindowSizeCond);
ImGui.begin(title, frameOpen);
}
@Override
public void renderComponent() {
renderComponents();
if (ImGui.begin(title, frameOpen)) {
renderComponents();
}
}
@Override