fixed #680
This commit is contained in:
1 parent
d0bec05593
commit
ebcb709111
1 file changed
+2
@@ -63,6 +63,8 @@ namespace HandyControl.Controls
|
|||||||
private static void OnVisibilityChanged(DependencyObject s, DependencyPropertyChangedEventArgs e)
|
private static void OnVisibilityChanged(DependencyObject s, DependencyPropertyChangedEventArgs e)
|
||||||
{
|
{
|
||||||
var ctl = (GifImage) s;
|
var ctl = (GifImage) s;
|
||||||
|
if (ctl.NativeImage == IntPtr.Zero) return;
|
||||||
|
|
||||||
var v = (Visibility) e.NewValue;
|
var v = (Visibility) e.NewValue;
|
||||||
if (v != Visibility.Visible)
|
if (v != Visibility.Visible)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user