From 0f8d39854fe3a4a0d24f9cce4b6ce27e850baa99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Mon, 22 Dec 2014 10:15:02 +0100 Subject: [PATCH] Fix flickering of last entry if list beyond is empty- --- VocaluxeLib/Menu/SongMenu/CSongMenuList.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VocaluxeLib/Menu/SongMenu/CSongMenuList.cs b/VocaluxeLib/Menu/SongMenu/CSongMenuList.cs index d6464610..04e06866 100644 --- a/VocaluxeLib/Menu/SongMenu/CSongMenuList.cs +++ b/VocaluxeLib/Menu/SongMenu/CSongMenuList.cs @@ -432,7 +432,7 @@ namespace VocaluxeLib.Menu.SongMenu //create a rect including the cover and text of the song. //(this way mouse over text should make a selection as well) SRectF songRect = new SRectF(tile.Rect.X, tile.Rect.Y, Rect.W, tile.Rect.H, tile.Rect.Z); - if (tile.Texture != _CoverBGTexture && CHelper.IsInBounds(songRect, mouseEvent)) + if (tile.Texture != _CoverBGTexture && CHelper.IsInBounds(songRect, mouseEvent) && tile.Color.A != 0) { somethingSelected = true; _SelectionNr = i + _Offset;