Fix flickering of last entry if list beyond is empty-

This commit is contained in:
Florian Küpper committed 2014-12-22 10:15:02 +01:00
1 parent e7c2606e8e
commit 0f8d39854f
1 file changed
+1 -1
+1 -1
View File
@@ -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;