Return to old max-mic-number.
This commit is contained in:
1 parent
bcbda3aa9e
commit
2cf45ac25a
1 file changed
+3
-1
@@ -18,7 +18,7 @@ namespace Vocaluxe.PartyModes
|
|||||||
const string ButtonNext = "ButtonNext";
|
const string ButtonNext = "ButtonNext";
|
||||||
const string ButtonBack = "ButtonBack";
|
const string ButtonBack = "ButtonBack";
|
||||||
|
|
||||||
private int MaxNumMics = 4;
|
private int MaxNumMics = 2;
|
||||||
private int MaxNumRounds = 100;
|
private int MaxNumRounds = 100;
|
||||||
|
|
||||||
DataFromScreen Data;
|
DataFromScreen Data;
|
||||||
@@ -194,8 +194,10 @@ namespace Vocaluxe.PartyModes
|
|||||||
{
|
{
|
||||||
SelectSlides[htSelectSlides(SelectSlideNumMics)].AddValue(i.ToString());
|
SelectSlides[htSelectSlides(SelectSlideNumMics)].AddValue(i.ToString());
|
||||||
}
|
}
|
||||||
|
//Set to old selection
|
||||||
if (SelectSlides[htSelectSlides(SelectSlideNumMics)].NumValues >= Data.ScreenConfig.NumPlayerAtOnce)
|
if (SelectSlides[htSelectSlides(SelectSlideNumMics)].NumValues >= Data.ScreenConfig.NumPlayerAtOnce)
|
||||||
SelectSlides[htSelectSlides(SelectSlideNumMics)].Selection = Data.ScreenConfig.NumPlayerAtOnce - 1;
|
SelectSlides[htSelectSlides(SelectSlideNumMics)].Selection = Data.ScreenConfig.NumPlayerAtOnce - 1;
|
||||||
|
//Update selection, if old selection = max player num
|
||||||
if (OldValueNumPlayer == Data.ScreenConfig.NumPlayerAtOnce)
|
if (OldValueNumPlayer == Data.ScreenConfig.NumPlayerAtOnce)
|
||||||
SelectSlides[htSelectSlides(SelectSlideNumMics)].Selection = SelectSlides[htSelectSlides(SelectSlideNumMics)].NumValues - 1;
|
SelectSlides[htSelectSlides(SelectSlideNumMics)].Selection = SelectSlides[htSelectSlides(SelectSlideNumMics)].NumValues - 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user