gloot icon indicating copy to clipboard operation
gloot copied to clipboard

Moving items around in `InventoryGridEx` sometimes messes up all the item positions

Open peter-kish opened this issue 3 years ago • 1 comments

One thing that I've noticed though... Sometimes (really not always) if I swap items, example I put the item from position 6 to position 2 the item on position 4 gets placed on other position. I'll try to replicate how I trigger this on the weekend.

Originally posted by @filipinyo in https://github.com/peter-kish/gloot/discussions/41#discussioncomment-3875540

peter-kish avatar Oct 15 '22 18:10 peter-kish

So far, I can only assume that it has something to do with the _sort_if_needed() method inside InventoryGrid.

peter-kish avatar Oct 15 '22 18:10 peter-kish