fixed party song hide reset
This commit is contained in:
1 parent
518ac5a969
commit
8c9f186045
2 files changed
+6
-1
No files matched your search
@@ -124,6 +124,7 @@ namespace Vocaluxe.Base
|
|||||||
|
|
||||||
public static void SetNormalGameMode()
|
public static void SetNormalGameMode()
|
||||||
{
|
{
|
||||||
|
CSongs.ResetPartySongSung();
|
||||||
SetPartyMode(_NormalGameModeID);
|
SetPartyMode(_NormalGameModeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ namespace Vocaluxe.Base
|
|||||||
get { return _CatIndex; }
|
get { return _CatIndex; }
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if ((_Categories.Count > value) && (value >= -1))
|
if ((_Categories.Count > value) && (value >= -1) && _CatIndex != value)
|
||||||
{
|
{
|
||||||
_CatIndex = value;
|
_CatIndex = value;
|
||||||
|
|
||||||
@@ -265,6 +265,7 @@ namespace Vocaluxe.Base
|
|||||||
for (int i = 0; i < _SongsSortList.Length; i++)
|
for (int i = 0; i < _SongsSortList.Length; i++)
|
||||||
{
|
{
|
||||||
_SongsSortList[i].PartyHidden = false;
|
_SongsSortList[i].PartyHidden = false;
|
||||||
|
_SongsSortList[i].Visible = (_SongsSortList[i].CatIndex == _CatIndex && !_SongsSortList[i].PartyHidden);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -273,7 +274,10 @@ namespace Vocaluxe.Base
|
|||||||
for (int i = 0; i < _SongsSortList.Length; i++)
|
for (int i = 0; i < _SongsSortList.Length; i++)
|
||||||
{
|
{
|
||||||
if (_SongsSortList[i].CatIndex == CatIndex)
|
if (_SongsSortList[i].CatIndex == CatIndex)
|
||||||
|
{
|
||||||
_SongsSortList[i].PartyHidden = false;
|
_SongsSortList[i].PartyHidden = false;
|
||||||
|
_SongsSortList[i].Visible = (_SongsSortList[i].CatIndex == _CatIndex && !_SongsSortList[i].PartyHidden);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user