Closed KatieWoe closed 4 years ago
A grabbable offset was assigned to the mouseArea/touchArea of the atomNodes. I will create a new dev version to compare.
I doubt we can support both touchSnag
and the swipe-to-cut, but the mechanism for cutting bonds is still open for discussion in #113. Seems like the best course of action would be to dilate the touch bounds for Hydrogen.
It looks like @Denz1994 has already increased the pointerAreas in master. However, it looks like the areas were dilated for both touch and mouse, and dilated for large atoms. Given that the atoms will be in close proximity to one another, I think it would be preferable not to dilate the pointerAreas unless need be.
@Denz1994 let's just dilate the touchArea of Hydrogen for now. The touchArea currently in master looks good to me.
Sounds good @arouinfar. I've removed the mouseArea dilation and kept the touchArea dilation. I'll close this issue since the touchArea looks good in master.
It looks like the touch areas on atoms can be big enough where it's possible to press your finger directly over an atom and actually pick up a different one. Has this been an issue? This has been resolved in other sims by having a background that detects "misses" and searches for the closest item.
For usability purposes, this would only be concerning if this occurred in the play area. The separation threshold prevents this from happening in the play area. Atoms in the bucket are homogenous and if a user picks up the incorrect hydrogen atom that shouldn't be an issue. Thoughts @arouinfar?
For usability purposes, this would only be concerning if this occurred in the play area. The separation threshold prevents this from happening in the play area. Atoms in the bucket are homogenous and if a user picks up the incorrect hydrogen atom that shouldn't be an issue.
Agreed! I think we can close.
Test device Dell Operating System Win 10 Browser chrome Problem description For https://github.com/phetsims/QA/issues/459 When your finger drags part of the screen when not starting on an atom, a cutting action is done. However, this means that dragging to pick up an atom doesn't work. This makes the margin of error for picking up an atom, particularly a small one, smaller.
Visuals
Troubleshooting information: