Open pixelzoom opened 2 years ago
Thanks @pixelzoom, good to know there is now support for the UndoIcon.
I don't have a preference for one iconic arrow over the other. The refill button behaves differently than the undo button, so I don't think we necessarily need to use UndoIcon here. However, I'll defer to the responsible dev @jonathanolson to decide if there's an implementation benefit to making the switch.
This doesn't have a significant impact on UX, so no need to publish any changes as a maintenance release.
In https://github.com/phetsims/calculus-grapher/issues/78, we standardized and generalized UndoButton, and factored out UndoIcon. UndoIcon is implemented as a very specific Shape. The button looks like this
build-a-molecule has RefillButton, which looks like this:
RefillButton uses fontawesome 'reply-solid', which is close to UndoIcon, but not identical.
Consider using UndoIcon in this sim.