mitchmindtree / egui_graph

A graph editor widget for the egui library.
MIT License
12 stars 5 forks source link

Socket selection radius #12

Open tychedelia opened 9 months ago

tychedelia commented 9 months ago

Have only tested on macOS, but it seems like sockets are a bit shy and reluctant to be selected. I think ideally they should take priority over everything else, unless the cursor is directly over another ui element.

Video: https://github.com/mitchmindtree/egui_graph/assets/10366310/f9e795b4-10d2-4747-9a2f-81524c06ba73

JoshuaBatty commented 9 months ago

I have also noticed the exact behaviour shown in the video. Agree it would be nice if they were a bit more greedy in taking ownership over selection.