Closed Nancy-Salpepi closed 1 year ago
@Luisav1, we have talked about this in the past. It is because the origin of particles is in the top left right? I feel like the dilation on the bottom side is not like this. We likely want to dilate some checking logic to account for an extra diameter on the top of the ShellNucleus lines.
I was running in to this as well.
I plotted the view bounds of the modelViewTransform, and things look REALLY great:
So this is more about the capture area logic when releasing mouse drag. I'll take a look.
This is the new capture area:
@Nancy-Salpepi will you review main and feel free to close.
@zepumph it is definitely better, but maybe the capture area still needs to be a teensy bit higher? @KatieWoe what do you think?
https://github.com/phetsims/build-a-nucleus/assets/87318828/82a952fe-1d97-4bcc-8cb1-853285b0261e
It seemed ok to me using a mouse.
Makes sense to me, here is another particle-radius's worth of increase. What do you think?
Thanks @zepumph! I like it!
Test device MacBook Air M1 chip
Operating System 13.5.1
Browser Safari 16.6
Problem description For https://github.com/phetsims/qa/issues/977, on the Chart Intro screen when manually placing a neutron (or proton) on the third energy level, if I let go above the level it drops back to the collection area rather than falling to the third energy level. I don't see this same behavior with the first or second energy level.
Steps to reproduce
Visuals
https://github.com/phetsims/build-a-nucleus/assets/87318828/710bb0cc-b422-4939-b6e2-86a41268e910