mirror of
https://github.com/ocornut/imgui.git
synced 2026-06-01 00:56:36 +08:00
Docking: removed legacy assert preventing to call DockBuilderSplitNode() on an existing split node. (#8472)
This commit is contained in:
@@ -150,6 +150,8 @@ Other changes:
|
|||||||
|
|
||||||
Docking+Viewports Branch:
|
Docking+Viewports Branch:
|
||||||
|
|
||||||
|
- Docking: Removed legacy assert preventing to call DockBuilderSplitNode() on an existing
|
||||||
|
split node. This makes using DockBuilder a little more flexible and bearable! (#8472) [@MegaMech]
|
||||||
- Viewports: fixed an assert when a window load settings with a position outside
|
- Viewports: fixed an assert when a window load settings with a position outside
|
||||||
monitor bounds, when there are multiple monitors. (#8393, #8385) [@gaborodriguez]
|
monitor bounds, when there are multiple monitors. (#8393, #8385) [@gaborodriguez]
|
||||||
- Viewports + Backends: Win32: Fixed setting title bar text when application
|
- Viewports + Backends: Win32: Fixed setting title bar text when application
|
||||||
|
|||||||
@@ -19911,8 +19911,6 @@ ImGuiID ImGui::DockBuilderSplitNode(ImGuiID id, ImGuiDir split_dir, float size_r
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
IM_ASSERT(!node->IsSplitNode()); // Assert if already Split
|
|
||||||
|
|
||||||
ImGuiDockRequest req;
|
ImGuiDockRequest req;
|
||||||
req.Type = ImGuiDockRequestType_Split;
|
req.Type = ImGuiDockRequestType_Split;
|
||||||
req.DockTargetWindow = NULL;
|
req.DockTargetWindow = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user