Small “fix” to improve the reorderable list functionality (such as Variable list).
Currently, variable lists are reordered by swapping positions. So if you’re trying to drag a variable from bottom of list to top, the previous top item moves to the bottom. This doesn’t make sense.
Instead, the item you’re moving should be inserted into the list at a given position. No swapping necessary. This change makes maintaining an orderly list much more straightforward.
This is a very small fix in EditorUtils_ReorderableList.cs lines 134-143:
Relevant code change: 138-139.
Indeed that is something that slipped by and the Reorderable List has already been fixed for the next hotfix version, pretty much exactly in the way you posted here 🙂