-
Notifications
You must be signed in to change notification settings - Fork 6
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
Compress Key layouts #553
Comments
Seems like decent idea - it would certainly be easier to read. There is a difference between the code above and the code that is in Back to @samreid for continued discussion. I don't have time to jump in on this at the moment since it doesn't seem particularly urgent, so you're welcome to try it out, request prioritization, or mark as deferred as you see fit. |
@ariel-phet is there someone else that can look into this? It seems a straightforward suggestion that any developer could investigate. |
marking as medium since should be reasonably straightforward, but not a rush |
I factored out the keys into constants in
Note: I did run into a "duplicates not allowed " console error while testing Projectile-Motion but this doesn't seem related to the changes above. Assigning back to @samreid for review. |
The code changes look great, and I tested in scenery-phet test harness. Nice work @Denz1994, thanks, closing. |
While working on #540 I came across the key layouts, which look like this:
Since the Key seems to be a data type, it may be possible to factor out the keys like so:
Assigning to @jbphet for initial discussion.
The text was updated successfully, but these errors were encountered: