mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add a testcase
This commit is contained in:
@ -24,7 +24,8 @@ namespace osu.Game.Graphics.Containers
|
||||
{
|
||||
Enabled.ValueChanged += e =>
|
||||
{
|
||||
if (!e.NewValue) unhover();
|
||||
if (!e.NewValue)
|
||||
unhover();
|
||||
};
|
||||
}
|
||||
|
||||
@ -49,7 +50,8 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
private void unhover()
|
||||
{
|
||||
if (!isHovered) return;
|
||||
if (!isHovered)
|
||||
return;
|
||||
|
||||
isHovered = false;
|
||||
EffectTargets.ForEach(d => d.FadeColour(IdleColour, FADE_DURATION, Easing.OutQuint));
|
||||
|
Reference in New Issue
Block a user