Closed PapaNaxos closed 2 months ago
Actually it seems to be failing to save ANYTHING to imgui.ini
when I use the update()
method, even the positions of other windows.
My only guess is that the second context for the node rendering messes ImGui up. I'll have to do some testing on my end. Such a weird bug tho
Are you able to recreate the bug on your side?
I was also a bit suspicious of the second context, but didn't look into it too deeply. What's the reason for making a second context?
I'll try to recreate the issue in the following days, also the second context is needed for the zoom
Fixed with commit 3e4ed6e5b51cc9a874480b94f112d5965b0412b0 If needed, open another issue
When calling
ImFlow::ImNodeFlow::update()
inside an ImGui window, that window no longer updates its position and size withinimgui.ini
Minimal reproduction
Reposition/resize the "Test Window" and restart the application. The windows' new position/size will not be retained between executions.
If the call to
update()
is removed, the retention of the windows position/size behaves normally again.1.90 WIP