sirinsidiator / ESO-LibAddonMenu

http://www.esoui.com/downloads/info7-LibAddonMenu.html
Artistic License 2.0
41 stars 20 forks source link

Added animation to ReloadUI button #108

Closed Baertram closed 4 years ago

Baertram commented 4 years ago

Added variable: lamTimeLines

Added functions: timelineAnimationPingPong(control, scalingStart, scalingEnd, bounces, duration) -> Plays a pingpong animation on control with the parameters given. stopTimelineAnimation(timelineName) -> Stops the animation of a timeline and destroys (nil) the timeline

Changed functions: RefreshReloadUIButton() -> Added code to check if the reloadui needs to be done and add the pingpong timeline to the reload button. Also stops timeline animations from before and nils them. Also stops and nils if the button get's invisible again.

Baertram commented 4 years ago

I just realized there is a popup dialog asking if you really want to close the LAM settings without reloading the UI if a reload should be done. Not sure why I only saw this once so far but this does the trick and the "ping pong" effect on the reload UI button is thus obsolete.