Bug Description:
When pining a row with id 2 the duplicated id is -1 ( 2 XOR -3 = -1) which is the parent id of the tree.
Since we already have an id of -1 as a parent tree the duplicated id does not get added to the tree list therefore the mapping breaks.
Steps to Reproduce:
- Pin a row that has an id of 2.
- It will go up but you won't be able to unpin it from the top.
Additional Information
- Operating System: Linux
- VSCode Version: Dev