I have an inventory system that works on a dragging grid. The grid elements are simply panels, and those that have an item in them have a DModelPanel within them displaying the item.
When an item is dragged onto another item, the two swap places. As it is dropped, the entire inventory grid is ‘refreshed’, meaning all of the elements are deleted and remade with the new inventory data. When the two highlighted items above are swapped, the result is this:
As you can see, there’s a silhouette of the red hat imposed on the paper, even though the red hat’s previous parented element was removed and replaced with a brand-new one. Has anyone else ever had a problem with two DModelPanels behaving in a similar way, perhaps through overlapping?