mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-13 16:29:54 +02:00
Docking: Internals: Rename StartMouseDragFromTitleBar() -> StartMouseMovingWindowOrNode(), clarify.
This commit is contained in:
@ -776,7 +776,7 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos, ImGuiDockNode* dock_no
|
||||
|
||||
// Switch to moving the window after mouse is moved beyond the initial drag threshold
|
||||
if (IsItemActive() && IsMouseDragging(0))
|
||||
StartMouseDragFromTitleBar(window, dock_node, true);
|
||||
StartMouseMovingWindowOrNode(window, dock_node, true);
|
||||
|
||||
return pressed;
|
||||
}
|
||||
|
Reference in New Issue
Block a user