Closed KatieWoe closed 5 years ago
We should not be showing the fraction if 0 is in the numerator.
I've seen the number 1 being displayed as 1/1 in 1.2.0-dev.10 in the Fractions screen on level 1.
Should be displayed without the (0/x) on the "mixed" screens, and displayed as an improper fraction (e.g. 1/1, 2/1) on the "unmixed" screens.
I believe this is fixed in the above commit, can you verify?
@jonathanolson so for clarification, does that mean that https://github.com/phetsims/fractions-common/issues/95#issuecomment-470324237 is not a bug?
I believe so. @amanda-phet can you verify?
It looks like what @jonathanolson describes on master. @amanda-phet to confirm if this is the desired behavior.
Both screens in Fraction Matcher look correct to me. Thanks for finding and fixing this!
Test device: Dell Operating System: Win 10 Browser: Firefox Problem description: For https://github.com/phetsims/QA/issues/294 On the published version of Fraction Matcher, the number two is displayed as 2. In the dev version it is displayed as 2 0/3 or something similar. This does not cause any problems with completing the level, but it looks quite odd. Steps to reproduce:
Screenshots: Dev: Published:
Troubleshooting information (do not edit):