hoffstadt / DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies
https://dearpygui.readthedocs.io/en/latest/
MIT License
13.31k stars 691 forks source link

Node Editor : Event happens on the bottom node on hovering & selecting with overwrapped nodes #2256

Open EssenOH opened 10 months ago

EssenOH commented 10 months ago

If there are multiple nodes and those are overwrapped, the mouse click event happens on the bottom node ( widget on bottom node ) if you click the overwrapped areas of the nodes.

screenshot #1 : before mouse clicking on the spot. image

screenshot #2 : after mouse clicking on the spot. image

the connected callback event from bottom node is activated, then user should click the region on top of the node which is not overlapped to another node.