mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Update framework
This commit is contained in:
Submodule osu-framework updated: 3ad1dd52ae...63a4ff0593
@ -86,6 +86,6 @@ namespace osu.Game.Overlays.Chat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void scrollToEnd() => Scheduler.AddDelayed(() => scroll.ScrollToEnd(), 50);
|
private void scrollToEnd() => ScheduleAfterChildren(() => scroll.ScrollToEnd());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -80,7 +80,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
backgroundIcon.RotateTo(-rotate_angle * direction, mod_switch_duration, mod_switch_easing);
|
backgroundIcon.RotateTo(-rotate_angle * direction, mod_switch_duration, mod_switch_easing);
|
||||||
|
|
||||||
backgroundIcon.Icon = modAfter.Icon;
|
backgroundIcon.Icon = modAfter.Icon;
|
||||||
using (iconsContainer.BeginDelayedSequence(mod_switch_duration, true))
|
using (BeginDelayedSequence(mod_switch_duration, true))
|
||||||
{
|
{
|
||||||
foregroundIcon.RotateTo(-rotate_angle * direction);
|
foregroundIcon.RotateTo(-rotate_angle * direction);
|
||||||
foregroundIcon.RotateTo(0f, mod_switch_duration, mod_switch_easing);
|
foregroundIcon.RotateTo(0f, mod_switch_duration, mod_switch_easing);
|
||||||
@ -88,7 +88,7 @@ namespace osu.Game.Overlays.Mods
|
|||||||
backgroundIcon.RotateTo(rotate_angle * direction);
|
backgroundIcon.RotateTo(rotate_angle * direction);
|
||||||
backgroundIcon.RotateTo(0f, mod_switch_duration, mod_switch_easing);
|
backgroundIcon.RotateTo(0f, mod_switch_duration, mod_switch_easing);
|
||||||
|
|
||||||
iconsContainer.Schedule(() => displayMod(modAfter));
|
Schedule(() => displayMod(modAfter));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,13 +25,13 @@ namespace osu.Game.Screens.Edit
|
|||||||
protected override void OnEntering(Screen last)
|
protected override void OnEntering(Screen last)
|
||||||
{
|
{
|
||||||
base.OnEntering(last);
|
base.OnEntering(last);
|
||||||
Background.Schedule(() => Background.FadeColour(Color4.DarkGray, 500));
|
Background.FadeColour(Color4.DarkGray, 500);
|
||||||
Beatmap?.Track?.Stop();
|
Beatmap?.Track?.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnExiting(Screen next)
|
protected override bool OnExiting(Screen next)
|
||||||
{
|
{
|
||||||
Background.Schedule(() => Background.FadeColour(Color4.White, 500));
|
Background.FadeColour(Color4.White, 500);
|
||||||
Beatmap?.Track?.Start();
|
Beatmap?.Track?.Start();
|
||||||
return base.OnExiting(next);
|
return base.OnExiting(next);
|
||||||
}
|
}
|
||||||
|
@ -24,12 +24,12 @@ namespace osu.Game.Screens.Multiplayer
|
|||||||
{
|
{
|
||||||
base.OnEntering(last);
|
base.OnEntering(last);
|
||||||
|
|
||||||
Background.Schedule(() => Background.FadeColour(Color4.DarkGray, 500));
|
Background.FadeColour(Color4.DarkGray, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override bool OnExiting(Screen next)
|
protected override bool OnExiting(Screen next)
|
||||||
{
|
{
|
||||||
Background.Schedule(() => Background.FadeColour(Color4.White, 500));
|
Background.FadeColour(Color4.White, 500);
|
||||||
return base.OnExiting(next);
|
return base.OnExiting(next);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user