mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-13 00:24:20 +00:00
Docking: Added DockBuilderRemoveNode() + various tweaks. Fixed dragging/undocking dock node from CollapseButton.
This commit is contained in:
parent
4021776d0f
commit
9960ccddb2
3 changed files with 122 additions and 108 deletions
|
|
@ -704,7 +704,9 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos, ImGuiDockNode* dock_no
|
|||
}
|
||||
else
|
||||
{
|
||||
ImVec2 backup_active_click_offset = g.ActiveIdClickOffset;
|
||||
StartMouseMovingWindow(window);
|
||||
g.ActiveIdClickOffset = backup_active_click_offset;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue