New animations
Changelog:
- Make use of requestAnimationFrame.
- Removed option update_interval
- Added option animation (Default: "smooth", valid values: "smooth", "ticks")
Description
Now makes use of requestAnimationFrame, this means that- whatever the speed of your computer, animations should go smoother and the speed of the animation should adjust to what your computer can easily handle. This should make the animations marginally smoother, even on fast computers.
Added a new (optional) animation type. The current smooth moving circle remains the default, however you can now have them instead "tick" only when the number inside changes (so, only on whole seconds, minutes, hours and days). The option is called animation
and valid values for it are "smooth"
and "ticks"
.
I removed the option update_interval
. The only reasons it was really being used (that I know of) was either to make it tick each second or to reduce the system resources used. Both of these should no longer be a good reason to use this option. Additionally, this option was not really easily compatible with the new options.
Though you might not notice it from use, quite a lot has changed internally. If you have any problems or experience strange behavior, please post an issue.