mirror of
https://github.com/ppy/osu.git
synced 2025-03-11 01:07:23 +08:00
Fix activation flash being applied twice (and adjust duration)
This commit is contained in:
parent
8032b68932
commit
29c35529d2
@ -217,7 +217,6 @@ namespace osu.Game.Screens.SelectV2
|
|||||||
|
|
||||||
protected override bool OnClick(ClickEvent e)
|
protected override bool OnClick(ClickEvent e)
|
||||||
{
|
{
|
||||||
activationFlash.FadeOutFromOne(500, Easing.OutQuint);
|
|
||||||
carousel?.Activate(Item!);
|
carousel?.Activate(Item!);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -287,7 +286,7 @@ namespace osu.Game.Screens.SelectV2
|
|||||||
|
|
||||||
public virtual void Activated()
|
public virtual void Activated()
|
||||||
{
|
{
|
||||||
activationFlash.FadeOutFromOne(500, Easing.OutQuint);
|
activationFlash.FadeOutFromOne(1000, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user