diff --git a/Output/Readme.txt b/Output/Readme.txt index 23859153..edea3878 100644 --- a/Output/Readme.txt +++ b/Output/Readme.txt @@ -157,6 +157,7 @@ Name selection screen Sing screen [P] to toggle pause. [CTRL] + [S] to skip a song if there is another one in the playlist. +[SHIFT] + [RIGHT] to skip 10 seconds within the playing song (not in party modes). [CTRL] + [RIGHT] to skip 30 seconds within the playing song (not in party modes). [T] to change the time format of the timer. [I] to change view of player information. diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index b39eb6cc..8e237bdd 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -346,19 +346,19 @@ namespace Vocaluxe.Screens } break; - // Skip 30 seconds + // Skip 10/30 seconds case Keys.Right: - if (keyEvent.Mod == EModifier.Ctrl && !_Pause && !_Sso.Selection.PartyMode) + if ((keyEvent.Mod == EModifier.Shift || keyEvent.Mod == EModifier.Ctrl) && !_Pause && !_Sso.Selection.PartyMode) { if (_TimerSongText.IsRunning) _TimerSongText.Stop(); - float newTime = _CurrentTime + 30f; - if (CSound.GetLength(_CurrentStream) < (_CurrentTime + 30f)) + float newTime = _CurrentTime + (keyEvent.Mod == EModifier.Shift ? 10f : 30f); + if (CSound.GetLength(_CurrentStream) < newTime) newTime = CSound.GetLength(_CurrentStream) - 1f; CSound.SetPosition(_CurrentStream, newTime); - _ShowInfoText(CBase.Language.Translate("TR_SCREENSING_SKIPPEDSECONDS").Replace("%s", "30")); + _ShowInfoText(CBase.Language.Translate("TR_SCREENSING_SKIPPEDSECONDS").Replace("%s", (keyEvent.Mod == EModifier.Shift ? "10" : "30"))); } break; }