Fix flickering of last entry if list beyond is empty-
This commit is contained in:
1 parent
e7c2606e8e
commit
0f8d39854f
1 file changed
+1
-1
@@ -432,7 +432,7 @@ namespace VocaluxeLib.Menu.SongMenu
|
|||||||
//create a rect including the cover and text of the song.
|
//create a rect including the cover and text of the song.
|
||||||
//(this way mouse over text should make a selection as well)
|
//(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);
|
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;
|
somethingSelected = true;
|
||||||
_SelectionNr = i + _Offset;
|
_SelectionNr = i + _Offset;
|
||||||
|
|||||||
Reference in new issue
Block a user