Skip to content

Commit

Permalink
Merge pull request #17 from tumugin/fix/faster_IsAlbumArtAvaliable
Browse files Browse the repository at this point in the history
IsAlbumArtAvaliable()の処理を高速化
  • Loading branch information
tumugin authored Oct 5, 2018
2 parents 70aef82 + 892acf6 commit d17b640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NowPlayingCore/NowPlaying/SongInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public Bitmap GetAlbumArt()
public bool IsAlbumArtAvaliable()
{
if (String.IsNullOrEmpty(AlbumArtBase64) && String.IsNullOrEmpty(AlbumArtPath)) return false;
if (cachebitmap != null) return true;
try
{
CreateAlbumArt();
Expand Down

0 comments on commit d17b640

Please sign in to comment.