Skip to content

Commit

Permalink
GUIImage: Avoid hidden animation resources not being freed
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 3, 2020
1 parent a54f2d6 commit 31d5d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/guilib/GUIImage.cpp
Expand Up @@ -60,7 +60,7 @@ void CGUIImage::UpdateInfo(const CGUIListItem *item)
return; // nothing to do

// don't allow image to change while animating out
if (HasProcessed() && IsAnimating(ANIM_TYPE_HIDDEN) && !IsVisibleFromSkin())
if (HasProcessed() && IsAnimating(ANIM_TYPE_HIDDEN) && IsVisibleFromSkin())
return;

if (item)
Expand Down

0 comments on commit 31d5d91

Please sign in to comment.