Merge pull request #20816 from frenzibyte/adjust-slider-fade-parameters

Adjust slider fade out transition to match stable
This commit is contained in:
Dean Herbert 2022-10-19 12:04:24 +09:00 committed by GitHub
commit 299131c985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -331,7 +331,7 @@ protected override void UpdateHitStateTransforms(ArmedState state)
{
base.UpdateHitStateTransforms(state);
const float fade_out_time = 450;
const float fade_out_time = 240;
switch (state)
{
@ -341,7 +341,7 @@ protected override void UpdateHitStateTransforms(ArmedState state)
break;
}
this.FadeOut(fade_out_time, Easing.OutQuint).Expire();
this.FadeOut(fade_out_time).Expire();
}
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => SliderBody?.ReceivePositionalInputAt(screenSpacePos) ?? base.ReceivePositionalInputAt(screenSpacePos);