I have two nodes under cursor - when I click mouse button then instead get front node I get node from the bottom. I think that problem can be easily fix by iterating by nodes in reverse order than painting in function getNode.
Another problem is when I move mouse. When move mouse on place where two nodes have collision then I get bottom node instead of the top node.
I have two nodes under cursor - when I click mouse button then instead get front node I get node from the bottom. I think that problem can be easily fix by iterating by nodes in reverse order than painting in function getNode.
Another problem is when I move mouse. When move mouse on place where two nodes have collision then I get bottom node instead of the top node.