Scroll offset was ignored while singing a single playlist song (fix #487)

This commit is contained in:
Stefan authored and GitHub committed 2020-02-07 21:10:31 +01:00
1 parent abb6ecd4dc
commit d4fd0c7ba1
1 file changed
+2 -2
+2 -2
View File
@@ -500,7 +500,7 @@ namespace VocaluxeLib.Menu
break;
case Keys.Enter:
_StartPlaylistSong(_CurrentPlaylistElement);
_StartPlaylistSong(_CurrentPlaylistElement + _Offset);
break;
case Keys.Add: //move the selected song up
@@ -835,7 +835,7 @@ namespace VocaluxeLib.Menu
//Start selected song with double click
if (mouseEvent.LD && _CurrentPlaylistElement != -1)
_StartPlaylistSong(_CurrentPlaylistElement);
_StartPlaylistSong(_CurrentPlaylistElement + _Offset);
//Change order with holding LB
if (mouseEvent.LBH && _CurrentPlaylistElement != -1 && _PlaylistElementContents.Count > 0 && DragAndDropSongID == -1)