From ca30ef4269150e71a950106c6cfa8f94898581da Mon Sep 17 00:00:00 2001 From: omar Date: Fri, 15 Nov 2019 18:36:06 +0100 Subject: [PATCH] Drag and drop: Increase local payload buffer from 8 to 16 bytes. --- imgui_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_internal.h b/imgui_internal.h index e6329b270..bbdf0b6a7 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -1053,7 +1053,7 @@ struct ImGuiContext ImGuiID DragDropAcceptIdPrev; // Target item id from previous frame (we need to store this to allow for overlapping drag and drop targets) int DragDropAcceptFrameCount; // Last time a target expressed a desire to accept the source ImVector DragDropPayloadBufHeap; // We don't expose the ImVector<> directly - unsigned char DragDropPayloadBufLocal[8]; // Local buffer for small payloads + unsigned char DragDropPayloadBufLocal[16]; // Local buffer for small payloads // Tab bars ImGuiTabBar* CurrentTabBar;