fixed random song selection showing

This commit is contained in:
Alexander Eckart committed 2012-12-23 14:16:37 +01:00
1 parent 399bc71c75
commit e8167c16d9
1 file changed
+1 -3
@@ -105,8 +105,6 @@ namespace Vocaluxe.Menu.SongMenu
{ {
base.Update(SongOptions); base.Update(SongOptions);
UpdateList(_Offset);
if (SongOptions.Selection.RandomOnly) if (SongOptions.Selection.RandomOnly)
{ {
_Locked = _PreviewSelected; _Locked = _PreviewSelected;
@@ -828,7 +826,7 @@ namespace Vocaluxe.Menu.SongMenu
_ScrollRect = new SRectF(0, 0, _Base.Settings.GetRenderW(), _Base.Settings.GetRenderH(), _Theme.songMenuTileBoard.TileRect.Z); _ScrollRect = new SRectF(0, 0, _Base.Settings.GetRenderW(), _Base.Settings.GetRenderH(), _Theme.songMenuTileBoard.TileRect.Z);
} }
UpdateList(_Offset); UpdateList((_Locked / _NumW) * _NumW - (_NumW * (_NumH - 2)));
} }
public override bool IsSmallView() public override bool IsSmallView()