XamlAnimatedGif / WpfAnimatedGif

A simple library to display animated GIF images in WPF, usable in XAML or in code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pause/Resume on visibility changed

mivor opened this issue · comments

Hi,

As far as I can tell the animation keeps running in the background even when the image is not visible.
Would it be possible to pause and resume the animation when the image visibility changes?

I would be willing to create a PR for this, if you agree with the change.

Hi @mivor,

Thanks for the suggestion, it's a great idea!

I would be willing to create a PR for this, if you agree with the change.

Please go ahead 👍

Hi @mivor,

Are you still interested in working on this?

Closed in #58

This change has been released in v1.4.18, which will be available on Nuget as soon as validation and indexing are complete. Thanks @khersonIT!