I'm happy at least that it's consistent :)

I fixed something that I _think_ was a bug - previously, when I clicked an array that had visible elements , every single element of the array reported the click.  I changed the behavior to what I think was originally intended - only the element that is clicked on sends the "click" message to its "struct" object.

for instance in the patch here:
msp.ucsd.edu:tmp/z3.pd

when I drag up or down on the hot-points of the small rectangles I get notifications from both that one element and from the array as a whole.

OTOH, if I click in the interior of the rectangle I get no action, since it's not on a hot point.  (Perhaps there should be a way to catch that as well?  That's a different functionality from a hot-point-click as reported in the "click" message.)

cheers
Miller


On 1/12/25 10:33 PM, Roman Haefeli wrote:
On Sun, 2025-01-12 at 21:19 +0100, Roman Haefeli wrote:
  Both those findings don't apply to all my
patches, thus making debugging a bit more complex.

That's not true. They are consistent, thus easy to report. I was fooled
by some patches using iemguis for click detection.

Roman


  ---
pd-dev@lists.iem.at - the Pd developers' mailinglist
https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/message/HZMKJRJ33DKDDXFDDR2WKMQ7MI2BNSX7/


---
pd-dev@lists.iem.at - the Pd developers' mailinglist
https://lists.iem.at/hyperkitty/list/pd-dev@lists.iem.at/message/RCG6M2K4TVZFO6IY7GG27OO65PJ427V4/

Reply via email to