Drag and Drop: Increased payload data type to 32 characters. (#143)

This commit is contained in:
omar
2018-03-08 10:42:51 +01:00
parent 7fd62baa42
commit a1f3949d71
3 changed files with 4 additions and 4 deletions

View File

@ -662,7 +662,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<unsigned char> DragDropPayloadBufHeap; // We don't expose the ImVector<> directly
unsigned char DragDropPayloadBufLocal[8];
unsigned char DragDropPayloadBufLocal[8]; // Local buffer for small payloads
// Widget state
ImGuiTextEditState InputTextState;