mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Apply newline additions
This commit is contained in:
@ -81,6 +81,7 @@ namespace osu.Game.Overlays.Mods
|
||||
backgroundIcon.RotateTo(-rotate_angle * direction, mod_switch_duration, mod_switch_easing);
|
||||
|
||||
backgroundIcon.Icon = modAfter.Icon;
|
||||
|
||||
using (BeginDelayedSequence(mod_switch_duration, true))
|
||||
{
|
||||
foregroundIcon
|
||||
@ -139,6 +140,7 @@ namespace osu.Game.Overlays.Mods
|
||||
}
|
||||
|
||||
createIcons();
|
||||
|
||||
if (Mods.Length > 0)
|
||||
{
|
||||
displayMod(Mods[0]);
|
||||
@ -168,6 +170,7 @@ namespace osu.Game.Overlays.Mods
|
||||
case MouseButton.Left:
|
||||
SelectNext(1);
|
||||
break;
|
||||
|
||||
case MouseButton.Right:
|
||||
SelectNext(-1);
|
||||
break;
|
||||
@ -219,6 +222,7 @@ namespace osu.Game.Overlays.Mods
|
||||
private void createIcons()
|
||||
{
|
||||
iconsContainer.Clear();
|
||||
|
||||
if (Mods.Length > 1)
|
||||
{
|
||||
iconsContainer.AddRange(new[]
|
||||
|
@ -77,6 +77,7 @@ namespace osu.Game.Overlays.Mods
|
||||
public void DeselectTypes(IEnumerable<Type> modTypes, bool immediate = false)
|
||||
{
|
||||
int delay = 0;
|
||||
|
||||
foreach (var button in buttons)
|
||||
{
|
||||
Mod selected = button.SelectedMod;
|
||||
|
Reference in New Issue
Block a user