-
Notifications
You must be signed in to change notification settings - Fork 3
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
Rewards look odd with zoom in/out #176
Comments
I have no control over this in the sim. RewardNode (common code) automatically adjusts itself when the size of the ScreenView changes, so things work correctly when the browser window is resized. But I'm not familiar with how zoom is implemented, or how it's affecting RewardNode. @jessegreenberg Can you please have a look at this, suggest what might be causing this, and recommend a fix? @Nancy-Salpepi Can you please check a few other sims that have rewards, and confirm whether this is a general problem? Please test in master |
@pixelzoom and @jessegreenberg this seems to be a general problem. In Master, I tested Fourier and Fractions Equality and saw the same results. |
Thanks @Nancy-Salpepi. Since it's been established that this is a general problem, I've created phetsims/vegas#97 to investigate, assigned to @jessegreenberg. When we find out what is involved in fixing it, we can decide whether to fix it for Equality Explorer 1.1. In the meatime, this issue is on hold. |
@amanda-phet Does this need to be fixed for the 1.1 release? |
@pixelzoom this is not a priority for the 1.1 release. When phetsims/vegas#97 gets resolved, I think we can decide how to proceed. [Edited to clarify] I am not concerned about pan/zoom with the reward node at this time. Since it is not specific to this sim, I don't want to delay publication of EqEx while we wait for a fix. |
#176 (comment) sounds like you'd like @jessegreenberg to investigate, then evaluate whether the fix goes into the 1.1 release. Do I understand that correctly @amanda-phet? My recommendation is that we should punt on this totally for the 1.1 release. While the game enhancements were the motivation for 1.1, this will also be the first version to support pan/zoom. If zoom behaves oddly for the game reward, that’s not a big deal — it’s unlikely to be encountered, and (if it is) it doesn’t break anything or affect learning goals. And there area undoubtedly other published sims that have this problem, so address them all via a batch MR if it's important. |
Based on @kathy-phet's comment in phetsims/vegas#97 (comment), this issue will not be addressed for the 1.1 release. Labeling as "deferred", to be addressed in a future release or maintenance release. |
Test device
MacBook Air (m1 chip)
Operating System
12.0.1
Browser
Chrome
Problem description
phetsims/qa#735
If you complete a level of the game while zoomed in, the rewards won't take up the entire screen when you zoom back out.
Steps to reproduce
Visuals
The text was updated successfully, but these errors were encountered: