mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-19 06:26:35 +00:00
Docking: Fixed debug Rebuild operation.
This commit is contained in:
parent
fc16e54612
commit
e138a5fcb5
@ -11970,7 +11970,8 @@ void ImGui::DockBuilderRemoveNodeChildNodes(ImGuiID root_id)
|
||||
|
||||
// DockNodeMoveWindows->DockNodeAddWindow will normally set those when reaching two windows (which is only adequate during interactive merge)
|
||||
// Make sure we don't lose our current pos/size. (FIXME-DOCK: Consider tidying up that code in DockNodeAddWindow instead)
|
||||
root_node->InitFromFirstWindowPosSize = false;
|
||||
if (root_node)
|
||||
root_node->InitFromFirstWindowPosSize = false;
|
||||
|
||||
// Apply to settings
|
||||
for (int settings_n = 0; settings_n < ctx->SettingsWindows.Size; settings_n++)
|
||||
|
Loading…
Reference in New Issue
Block a user