Skip to content

Commit

Permalink
rename grouping from "None" and "Difficulty" to "Default" and "Nothing"
Browse files Browse the repository at this point in the history
  • Loading branch information
flustix committed Aug 25, 2024
1 parent c7219a2 commit fe80a99
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion fluXis.Game/Configuration/FluXisConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected override void InitialiseDefaults()
// UI // Song Select
SetDefault(FluXisSetting.SongSelectBlur, true);
SetDefault(FluXisSetting.LoopMode, LoopMode.Limited);
SetDefault(FluXisSetting.GroupingMode, MapUtils.GroupingMode.None);
SetDefault(FluXisSetting.GroupingMode, MapUtils.GroupingMode.Default);
SetDefault(FluXisSetting.SortingMode, MapUtils.SortingMode.Title);
SetDefault(FluXisSetting.SortingInverse, false);
SetDefault(FluXisSetting.LeaderboardType, ScoreListType.Local);
Expand Down
4 changes: 2 additions & 2 deletions fluXis.Game/Screens/Select/SelectScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,14 @@ private IEnumerable<IListItem> createItems(RealmMapSet set)
{
switch (groupMode.Value)
{
case MapUtils.GroupingMode.None:
case MapUtils.GroupingMode.Default:
{
yield return new MapSetItem(set);

break;
}

case MapUtils.GroupingMode.Difficulty:
case MapUtils.GroupingMode.Nothing:
{
foreach (var map in set.Maps)
yield return new MapDifficultyItem(map);
Expand Down
10 changes: 5 additions & 5 deletions fluXis.Game/Utils/MapUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ public enum SortingMode
public enum GroupingMode
{
[Icon(0xf068)]
[Description("None")]
None,
[Description("Default")]
Default,

[Icon(0xf1b2)]
[Description("Difficulty")]
Difficulty
[Icon(0xf068)]
[Description("Nothing")]
Nothing
}
}

0 comments on commit fe80a99

Please sign in to comment.