Closed pixelzoom closed 7 years ago
The current buttons in this sim look like this (currently flat, but could be 3D):
scenery-phet.PlayPauseButton
has a different look:
And I'm not sure if the play and pause states can have different colors.
@ariel-phet Do you want me to investigate this, or leave as is?
PlayButton is 56 lines of code. PauseButton is 58 lines of code.
Not a huge savings here by switching to PlayPauseButton, just the consistency of using common code.
RoundButtonView has a setter for baseColor, so likely that the play and pause states could have different colors.
I would prefer the common code button but with different colors. The green button was effective in interviews and I don't think the light blue would be bold enough.
@pixelzoom agree with @amanda-phet
OK, I will investigate using PlayPauseButton.
Investigated and decided that this is not worth the trouble. On the "Intro" screen, there is no pause button, so it's not easy to use PlayPauseButton
, we'd still need PlayButton
. So I'll give PlayButton
and PauseButton
a quick cleanup, then close this issue.
Cleanup completed, closing.
Also identified a more efficient way of implementing the pause icon in PlayPauseButton
, tracking in https://github.com/phetsims/scenery-phet/issues/268.
This sim has is own
PlayButton
andPauseButton
. Why isn't is using the common-code buttonscenery-phet.PlayPauseButton
?