Closed phet-steele closed 8 years ago
Hmm, this does seem like something one could do on accident, (dragging the atom diameter and hitting one of the other options on the screen), and then the sim will be in quite an odd state.
@jbphet could you investigate and see if there is an easy solution?
The sim is only in an odd state very temporarily, but I went ahead and added code that prevents this problem anyway. Gradients are now re-enabled on a change of particle type and the fill change is only made for adjustable particles. See the commit for details. To make sure I have fully understood and resolved the issue, I'll have @phet-steele test before publication.
I had @phet-steele test on my machine, and he said that it appeared fixed, but he'd still like to test on the next RC, so I'll leave this open and assigned to him.
It looks great, closing.
@jbphet, the color fills representing a changing atom diameter will be seen. No, this does not actually change the diameter of the non-custom atoms.
Assigning to @ariel-phet to decide if this should be fixed now or later. Seen on iPad Air 2 iOS 9.3.5, for phetsims/tasks/issues/693.