mirror of
https://github.com/osukey/osukey.git
synced 2025-06-22 03:38:01 +09:00
Merge pull request #11675 from Joehuu/remove-old-alpha-hack
Remove old alpha hack from nub fill
This commit is contained in:
commit
daece0104c
@ -42,13 +42,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
Current.ValueChanged += filled =>
|
Current.ValueChanged += filled => fill.FadeTo(filled.NewValue ? 1 : 0, 200, Easing.OutQuint);
|
||||||
{
|
|
||||||
if (filled.NewValue)
|
|
||||||
fill.FadeIn(200, Easing.OutQuint);
|
|
||||||
else
|
|
||||||
fill.FadeTo(0.01f, 200, Easing.OutQuint); //todo: remove once we figure why containers aren't drawing at all times
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user