Drag and Drop, Style: added ImGuiStyleVar_DragDropTargetRounding. (#9056)

+ readded rounding arg to RenderDragDropTargetRectEx().
This commit is contained in:
ocornut
2026-04-27 18:23:56 +02:00
parent e3033c3975
commit ab36fbaf48
4 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -3494,7 +3494,7 @@ namespace ImGui
IMGUI_API void ClearDragDrop();
IMGUI_API bool IsDragDropPayloadBeingAccepted();
IMGUI_API void RenderDragDropTargetRectForItem(const ImRect& bb);
IMGUI_API void RenderDragDropTargetRectEx(ImDrawList* draw_list, const ImRect& bb);
IMGUI_API void RenderDragDropTargetRectEx(ImDrawList* draw_list, const ImRect& bb, float rounding);
// Typing-Select API
// (provide Windows Explorer style "select items by typing partial name" + "cycle through items by typing same letter" feature)