mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 09:23:06 +08:00
Update framework
This commit is contained in:
parent
2cd8f6b30c
commit
a7dc8a892b
@ -1 +1 @@
|
||||
Subproject commit 82044038805e640ae4602be2fe4772bf09d23e94
|
||||
Subproject commit d09246eeb0e7e30bc31cc017af3847ee09b4df08
|
@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
|
||||
protected sealed override void UpdateState(ArmedState state)
|
||||
{
|
||||
Flush();
|
||||
FinishTransforms();
|
||||
|
||||
using (BeginAbsoluteSequence(HitObject.StartTime - TIME_PREEMPT, true))
|
||||
{
|
||||
|
@ -127,7 +127,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables.Pieces
|
||||
|
||||
if (Complete && updateCompleteTick())
|
||||
{
|
||||
background.Flush(false, nameof(Alpha));
|
||||
background.FinishTransforms(false, nameof(Alpha));
|
||||
background
|
||||
.FadeTo(tracking_alpha + 0.2f, 60, EasingTypes.OutExpo)
|
||||
.Then()
|
||||
|
@ -66,7 +66,7 @@ namespace osu.Game.Rulesets.Taiko.Objects.Drawables
|
||||
protected override void UpdateState(ArmedState state)
|
||||
{
|
||||
var circlePiece = MainPiece as CirclePiece;
|
||||
circlePiece?.FlashBox.Flush();
|
||||
circlePiece?.FlashBox.FinishTransforms();
|
||||
|
||||
using (BeginDelayedSequence(HitObject.StartTime - Time.Current + Judgement.TimeOffset, true))
|
||||
{
|
||||
|
@ -127,7 +127,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
/// </summary>
|
||||
public virtual void StopRolling()
|
||||
{
|
||||
Flush(false, nameof(DisplayedCount));
|
||||
FinishTransforms(false, nameof(DisplayedCount));
|
||||
DisplayedCount = Current;
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
// if we haven't yet, play out the animation fully
|
||||
drawableMedal.State = DisplayState.Full;
|
||||
Flush(true);
|
||||
FinishTransforms(true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ namespace osu.Game.Overlays.Music
|
||||
if (value == selected) return;
|
||||
selected = value;
|
||||
|
||||
Flush(true);
|
||||
FinishTransforms(true);
|
||||
foreach (SpriteText s in titleSprites)
|
||||
s.FadeColour(Selected ? hoverColour : Color4.White, fade_duration);
|
||||
}
|
||||
|
@ -260,7 +260,7 @@ namespace osu.Game.Overlays
|
||||
};
|
||||
|
||||
updateGlow();
|
||||
Flush(true);
|
||||
FinishTransforms(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -517,13 +517,13 @@ namespace osu.Game.Overlays.Profile
|
||||
|
||||
protected override bool OnHover(InputState state)
|
||||
{
|
||||
FadeColour(hoverColour, 500, EasingTypes.OutQuint);
|
||||
this.FadeColour(hoverColour, 500, EasingTypes.OutQuint);
|
||||
return base.OnHover(state);
|
||||
}
|
||||
|
||||
protected override void OnHoverLost(InputState state)
|
||||
{
|
||||
FadeColour(Color4.White, 500, EasingTypes.OutQuint);
|
||||
this.FadeColour(Color4.White, 500, EasingTypes.OutQuint);
|
||||
base.OnHoverLost(state);
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ namespace osu.Game.Screens.Backgrounds
|
||||
if (background != null)
|
||||
{
|
||||
newDepth = background.Depth + 1;
|
||||
background.Flush();
|
||||
background.FinishTransforms();
|
||||
background.FadeOut(250);
|
||||
background.Expire();
|
||||
}
|
||||
|
@ -216,7 +216,7 @@ namespace osu.Game.Screens.Menu
|
||||
bool fromInitial = lastState == MenuState.Initial;
|
||||
|
||||
if (state == MenuState.TopLevel)
|
||||
buttonArea.Flush(true);
|
||||
buttonArea.FinishTransforms(true);
|
||||
|
||||
using (buttonArea.BeginDelayedSequence(fromInitial ? 150 : 0, true))
|
||||
{
|
||||
|
@ -169,7 +169,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
|
||||
if (!rolling)
|
||||
{
|
||||
Flush(false, nameof(DisplayedCount));
|
||||
FinishTransforms(false, nameof(DisplayedCount));
|
||||
IsRolling = false;
|
||||
DisplayedCount = prev;
|
||||
|
||||
|
@ -80,7 +80,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
else
|
||||
unrankedText.Hide();
|
||||
|
||||
iconsContainer.Flush();
|
||||
iconsContainer.FinishTransforms();
|
||||
iconsContainer.FadeInFromZero(fade_duration, EasingTypes.OutQuint);
|
||||
expand();
|
||||
using (iconsContainer.BeginDelayedSequence(1200))
|
||||
|
Loading…
Reference in New Issue
Block a user