Apply newline additions

This commit is contained in:
Dean Herbert
2019-04-01 12:16:05 +09:00
parent 7d6a08d6da
commit 612db31c38
108 changed files with 359 additions and 7 deletions

View File

@ -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[]

View File

@ -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;