// Write payload with full selection OR single unselected item (only possible with ImGuiMultiSelectFlags_SelectOnClickRelease)
// Consider payload to be full selection OR single unselected item.
// (the later is only possible when using ImGuiMultiSelectFlags_SelectOnClickRelease)
if(ImGui::GetDragDropPayload()==NULL)
{
ImVector<int>payload_items;
@ -9544,8 +9545,10 @@ struct ExampleAssetsBrowser
{
// Options
boolShowTypeOverlay=true;
boolAllowDragUnselected=false;
floatIconSize=32.0f;
intIconSpacing=7;
intIconSpacing=10;
intIconHitSpacing=4;// Increase hit-spacing if you want to make it possible to clear or box-select from gaps. Some spacing is required to able to amend with Shift+box-select. Value is small in Explorer.
boolStretchSpacing=true;
// State
@ -9605,9 +9608,13 @@ struct ExampleAssetsBrowser
ImGui::SeparatorText("Contents");
ImGui::Checkbox("Show Type Overlay",&ShowTypeOverlay);