Closed loganbraywork closed 3 years ago
I agree we should be consistent with the arrow layering. @arouinfar Do you think we should have all the arrows behind the light or in front of the light? I personally think the light should be blocking the arrows. Almost as if the user is blinded by the light and can't see the arrows behind it.
I think this should be addressed by reducing the maximum halo size in #275.
@Denz1994 I think it looks strange to have mixed layering. Let's put the light on top of everything. I think they only z-order you'll need to adjust is the current arrows.
I was writing this up as a bug since it makes using the sim difficult. Problem description For https://github.com/phetsims/QA/issues/565. Mentioned in https://github.com/phetsims/capacitor-lab-basics/issues/256. Related to and possibly caused by changes in https://github.com/phetsims/capacitor-lab-basics/issues/270. On the Light Bulb screen, if the light from the bulb is big enough, it covers the play/pause, step forward, and speed control buttons. This makes using the controls in fairly normal circumstances difficult.
Seems like @KatieWoe is advocating for the light being behind interactable items. I didn't think about the paused state, but I must admit it does get annoying to have to "feel" around for the step button when the light blocks the play/pause panel.
Maybe move the current direction arrows behind the light and the play/pause button in front of it @arouinfar?
EDIT: After reducing the bulb brightness in https://github.com/phetsims/capacitor-lab-basics/commit/3e93e2c14fc9aa35b6164cdf13e07aa5e35c5bed, the play/pause panel is no longer blocked. It is partially covered but still usable.
The rendering order of the lightbulb and current arrows has been changed. The arrows are now always behind the lightbulb halos. Will deploy an RC version for verification.
The problem has definitely improved though I did find a case where the light will still be too bright to see the pause and play buttons. I think it's a pretty rare case to run into unless you're really trying to play with every button in the simulation but I thought it was important to note nonetheless.[
](url)
I noticed this as well, and only occurs when the separation is low and the plate area is high when originally charging the capacitor, then taking it off the voltage and increasing separation/decreasing plate area. You cannot make it so the light is covering the pause/step forward buttons with the original charge without changing the plates.
I made a gif of how this can be fairly easily achieved. Fully charge the plates when they are large and close together. Disconnect the plates but don't connect them to the light bulb. Make the plates small and far apart. Pause the sim. Connect them to the light bulb. Edit: I'm also still wondering about the plate size and distance arrows, but I'm not as worried about those.
@Denz1994 let's move the panel containing the TimeControlNode on top of the halo. This z-ordering would be consistent with the other panels in the sim.
I believe I've fixed this in master, can you check? (Not committed to 1.7)
I was trying to replicate https://github.com/phetsims/capacitor-lab-basics/issues/276#issuecomment-760452899 but ran into another problem, when I change the separation or plate size at all, the energy disappears. @arouinfar is this intended?
I discovered this and reported in https://github.com/phetsims/capacitor-lab-basics/issues/282.
I'll investigate
@jonathanolson looks good in master, back to you in case we end up needing to cherry-pick into 1.7.
Looks like this in https://github.com/phetsims/QA/issues/616:
@arouinfar I think this can be closed?
Since we decided to republish off of master, there shouldn't be anything to cherry-pick, closing.
For https://github.com/phetsims/QA/issues/565
While checking another issue, I noticed it is difficult to adjust the plate size and distance as well as pause, unpause, or stepforward while the light is shining. Some arrows are visible through light but are not the ones which can be manipulated.
Currently how the screen looks while paused and the light is shining.