-
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
[Atomic Scale] Use MathSymbols.TIMES in scale bar readout #99
Comments
@mbarlow12 is it possible to use MathSymbols.TIMES for this? |
My hesitation there is that the text is coming from the I can still split the text into different nodes to allow for using MathSymbols, but that seems overkill for this case. Unless, I hear otherwise, I'll plan to move forward with |
That all sounds reasonable to me @mbarlow12. I noticed the
Compare to the
This seems like a really minor change, so I would be happy to test on master before we proceed with 1.0. |
@arouinfar I think the use case is a little different. Those patterns are reused throughout the wave interference sim with varying values (e.g. see the double slit screen control panel). Since the string for the CL legend never changes, it seems unnecessary to dynamically fill it with a constant value. I'd say it's more similar to the millisecond or femtosecond conversion strings: "millisecondConversion": {
"value": "1 ms = 10<sup>-3</sup> s"
},
"femtosecondConversion": {
"value": "1 fs = 10<sup>-15</sup> s"
} |
@arouinfar I went forward with publishing the sim as-is since there appears to be precedent for not using patterns for static strings. |
Thanks for the clarification @mbarlow12. It seemed odd that the numbers were included in the string to be translated, but the secondConversion strings are an interesting parallel. |
For phetsims/qa#243
@phet-steele noticed that the multiplication symbol used in the scale bar on the Atomic Scale screen is the letter x, not MathSymbols.TIMES. This was addressed for scientific notation in phetsims/inverse-square-law-common#50, but it looks like we missed this one.
The text was updated successfully, but these errors were encountered: