ssec / sift

A visualization application for satellite imagery
http://sift.ssec.wisc.edu/
GNU General Public License v3.0
49 stars 14 forks source link

Change animation button from "play" to "pause" when animation is running, and add animation speed button. #411

Open ameraner opened 7 months ago

ameraner commented 7 months ago

Currently, when an animation is running, no change in the animation buttons can be seen. This can be confusing in certain situations, e.g. when the animation speed is very low or too fast (screen update not keeping up), and the user doesn't know if the animation is running or not.

This could be improved by switching to a classic pause button || when the animation is running, or keeping the "play" button pressed until it is clicked on again.

In addition, the animation speed slider can only be changed when right-clicking the "play" button, which is not intuitive/clear to a new user. A new button or always-visible slider should be added.

Ported from EUM Gitlab issue 173.

ameraner commented 6 months ago

Relevant piece of code: https://github.com/ssec/sift/blob/ac7d4315cdf0d34a6900bb618328b087d276f312/uwsift/__main__.py#L292-L295