Merge pull request #489 from Vocaluxe/FixPlaylistScrollOffset_release-0.4.1
Scroll offset was ignored while singing a single playlist song (fix #487 for release-0.4.1)
This commit is contained in:
1 file changed
+3
-3
@@ -554,7 +554,7 @@ namespace VocaluxeLib.Menu
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Keys.Enter:
|
case Keys.Enter:
|
||||||
_StartPlaylistSong(_CurrentPlaylistElement);
|
_StartPlaylistSong(_CurrentPlaylistElement + _Offset);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Keys.Add: //move the selected song up
|
case Keys.Add: //move the selected song up
|
||||||
@@ -880,7 +880,7 @@ namespace VocaluxeLib.Menu
|
|||||||
|
|
||||||
//Start selected song with double click
|
//Start selected song with double click
|
||||||
if (mouseEvent.LD && _CurrentPlaylistElement != -1)
|
if (mouseEvent.LD && _CurrentPlaylistElement != -1)
|
||||||
_StartPlaylistSong(_CurrentPlaylistElement);
|
_StartPlaylistSong(_CurrentPlaylistElement + _Offset);
|
||||||
|
|
||||||
//Change order with holding LB
|
//Change order with holding LB
|
||||||
if (mouseEvent.LBH && _CurrentPlaylistElement != -1 && _PlaylistElementContents.Count > 0 && DragAndDropSongID == -1)
|
if (mouseEvent.LBH && _CurrentPlaylistElement != -1 && _PlaylistElementContents.Count > 0 && DragAndDropSongID == -1)
|
||||||
@@ -1259,4 +1259,4 @@ namespace VocaluxeLib.Menu
|
|||||||
}
|
}
|
||||||
#endregion ThemeEdit
|
#endregion ThemeEdit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user