Closed KatieWoe closed 5 years ago
Nice observation @KatieWoe. I think you've discovered some nuances for how the z-ordering can behave, but I don't think there's anything we need to do. In general, the masses are layered above the springs, but the relative layering of the masses can change depending on which mass is active.
For the multitouch method, the green mass was picked up more recently, so it gets layered on top of the blue mass. This is to be expected.
For the zero gravity method, I don't think you're actually holding onto the green mass, so it gets sandwiched between the spring and pink mass. If I grab the floating green mass, it jumps above the oscillating pink mass.
Test device: Dell Operating System: Win 10 Browser: Chrome Problem description: For https://github.com/phetsims/QA/issues/296 The way the layering for the masses in the play area works is the latest mass to be picked up is in the front. This means that in normal use a mass being held in the path of a moving spring will be in front. However, there are two ways to get around this, which creates an odd look. One way involves multitouch and the other involves zero gravity. A slow speed makes this easier to see in both cases. Likely minor. Tagging @arouinfar to decide. Steps to reproduce: Multitouch method:
Zero Gravity method:
Screenshots:![twooddmasses](https://user-images.githubusercontent.com/41024075/54462697-46043e00-4736-11e9-90d3-4321649500ff.gif)
Troubleshooting information (do not edit):