This commit is contained in:
NaBian committed 2021-03-01 21:48:38 +08:00
1 parent d0bec05593
commit ebcb709111
1 file changed
+2
@@ -63,6 +63,8 @@ namespace HandyControl.Controls
private static void OnVisibilityChanged(DependencyObject s, DependencyPropertyChangedEventArgs e)
{
var ctl = (GifImage) s;
if (ctl.NativeImage == IntPtr.Zero) return;
var v = (Visibility) e.NewValue;
if (v != Visibility.Visible)
{