Merge pull request #488 from Vocaluxe/FixPlaylistScrollOffset

Scroll offset was ignored while singing a single playlist song (fix #487)
This commit is contained in:
daggeg authored and GitHub committed 2020-02-07 21:29:34 +01:00
commit c2bed1bccb
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)