I am building a primitive level editor and I have a TreeView that contains all the items that can be placed on the map.
When you select a node, the item that it points to sticks to your mouse and you can place it on the level. When I right-click it releases the item and should deselect the tree node. However, I can't seem to be able to deselect the node.
Any help would be highly appreciated.
When you select a node, the item that it points to sticks to your mouse and you can place it on the level. When I right-click it releases the item and should deselect the tree node. However, I can't seem to be able to deselect the node.
Any help would be highly appreciated.