mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
CreateModSections -> GetModsFor(PlayMode), fixed deselect not working in ModSelectOverlay, added MultiMod for multiple mods in one mod, fixed issues with SelectedColour in ModSection
This commit is contained in:
@ -37,9 +37,7 @@ namespace osu.Game.Overlays.Mods
|
||||
{
|
||||
Mod selectedMod = button.SelectedMod;
|
||||
if (selectedMod != null)
|
||||
{
|
||||
selectedMods.Add(selectedMod);
|
||||
}
|
||||
}
|
||||
|
||||
return selectedMods.ToArray();
|
||||
@ -75,6 +73,7 @@ namespace osu.Game.Overlays.Mods
|
||||
foreach (ModButton button in value)
|
||||
{
|
||||
button.Colour = Colour;
|
||||
button.SelectedColour = selectedColour;
|
||||
button.Action = buttonPressed;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user