From 45b6a39754c5cfcc75bf3b200b887fc0dffc41b8 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 23 Sep 2021 19:50:12 +0200 Subject: [PATCH 1/2] Assuming playing party mode on ArgumentException If getting an ArgumentException while requesting song selection options (which the TicTacToe party mode do), I assume that Vocaluxe is playing a party mode. This allows detection of a running party mode in CScreenSing, to prevent song skipping (Shift/CTRL + Arrow Right) while playing party modes. --- Vocaluxe/Screens/CScreenSing.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index 28adc43e..c1add464 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -436,6 +436,8 @@ namespace Vocaluxe.Screens } catch (ArgumentException) { + // Workaround to assume party mode here (TicTacToe game mode throw the ArgumentException) / Stefan1200 + _Sso.Selection.PartyMode = true; } _SingNotes[_SingBars].Init(0); From 601c4b6d7e40ac1025764e45921456dfef6e1a38 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 23 Sep 2021 19:52:44 +0200 Subject: [PATCH 2/2] Update CScreenSing.cs --- Vocaluxe/Screens/CScreenSing.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Screens/CScreenSing.cs b/Vocaluxe/Screens/CScreenSing.cs index c1add464..1f29a202 100644 --- a/Vocaluxe/Screens/CScreenSing.cs +++ b/Vocaluxe/Screens/CScreenSing.cs @@ -436,7 +436,7 @@ namespace Vocaluxe.Screens } catch (ArgumentException) { - // Workaround to assume party mode here (TicTacToe game mode throw the ArgumentException) / Stefan1200 + // Workaround to assume party mode here (TicTacToe party mode throw the ArgumentException) / Stefan1200 _Sso.Selection.PartyMode = true; }