-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set fireOnHold to true #550
Comments
This was a straightforward code change, but I do want to make sure it didn't introduce any craziness in behavior or interactions we're not thinking of so I would like to keep this open for the next QA test. Over to @catherinecarter first. |
Seems to be working perfectly when I tested it. Nice suggestion, @Nancy-Salpepi! |
I'll unassign @Nancy-Salpepi for now, and just flag this as an issue that we'll want to reference in the next dev test. |
For phetsims/qa#985: fireonholdcards.mp4 |
I would love to get @catherinecarter's opinion on the priority of this problem. The interactions in the cards are rather complicated especially when it comes to keyboard interaction. @catherinecarter how much time would you like me to spend investigating this? I have a feeling this could go down a rabbit hole and I don't know how big of a concern it is right now. If it is a large concern, the other option is to remove auto-firing when a keypress is held down for the cards. |
I agree that this is distracting and seems strange that the card would gain speed when moving towards the end. Not sure why that's happening. I think spending maybe 15 minutes investigating would make sense, but not much more than that. I worry that changing anything in the cards could inspire a domino effect and create more issues down the road, especially since the code is complicated as is. If earlier in the process, I think spending more time would make sense to fix it, but since we're trying to get this published, I'm ok accepting the behavior as is if it takes longer than 15 minutes or would create more problems by fixing. Does this sound reasonable? Thanks! |
@catherinecarter, very reasonable. I'll take a look today and report back. |
Noting that the sped up movement does not seem to happen when moving soccerballs. |
I removed animation from the focused card and that did indeed remove the speed ramping effect. I created a query parameter This would be good for @Nancy-Salpepi to test and see if there's anything odd from that change as well. If we would rather remove the animation to fix this bug, let me know and I can remove the query parameter and make Also sending over to @samreid since he did a lot of the animation work here. |
@marlitas with the query parameter the screen no longer pans when moving the card with alt input. |
Ahh that's because I bypassed the |
We met today and decided we liked it! We're going to remove the animation for the focused card. |
Done above! This was actually really nice because we got to remove some code complexity with Over to @Nancy-Salpepi to check on main. Was relatively straightforward so shouldn't need a code review. |
Looks good to me! Closing. |
This will track the commit for allowing keyboard listener to fire when a key is held down.
The text was updated successfully, but these errors were encountered: