From 655c2d22a0aa673c4645f33f79ed5402ead8cdca Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 24 Feb 2020 19:44:58 +0100 Subject: [PATCH 1/2] Add Shift+Right Arrow for skipping 10 seconds --- Vocaluxe/Screens/CScreenSing.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } From 41449e3bf0c38fb44ad8968bc8aa2b8a08448c69 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 24 Feb 2020 19:47:19 +0100 Subject: [PATCH 2/2] Update Readme.txt Add [SHIFT] + [RIGHT] to sing screen. --- Output/Readme.txt | 1 + 1 file changed, 1 insertion(+) 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.