Docking: Fixed debug Rebuild operation.

This commit is contained in:
omar 2018-11-27 17:40:25 +01:00
parent fc16e54612
commit e138a5fcb5

View File

@ -11970,6 +11970,7 @@ 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)
if (root_node)
root_node->InitFromFirstWindowPosSize = false;
// Apply to settings