I have a very simple custom drawing tool that draws a line every 100 pts from a set level when you click. You can vary the size by grabbing and anchor and dragging it.
The issue I am trying to solve. As it draws lines all the way up and down the chart, when you click on the chart, even if you do not click anywhere near the line, NT selects it and you loose the ability to click on the chart and pan it. I've tried sending the draw object to the background, but this makes no difference.
How do I make NT select the drawing object ONLY if the line is actually clicked on within, say, 10 pixels or so?
Example gif video below (attached)
Thanks.
Comment