1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-20 07:17:31 +08:00

CI fixes and removed useless property

This commit is contained in:
EVAST9919 2017-05-23 12:24:16 +03:00
parent c7a241246e
commit 2e28b10c36
2 changed files with 1 additions and 3 deletions

View File

@ -45,7 +45,6 @@ namespace osu.Game.Screens.Play
protected HUDOverlay()
{
RelativeSizeAxes = Axes.Both;
AlwaysPresent = true;
Add(content = new Container
{
@ -68,7 +67,7 @@ namespace osu.Game.Screens.Play
private void load(OsuConfigManager config, NotificationManager notificationManager)
{
showHud = config.GetBindable<bool>(OsuSetting.ShowInterface);
showHud.ValueChanged += hudVisibility => FadeTo(hudVisibility ? 1 : 0, duration);
showHud.ValueChanged += hudVisibility => content.FadeTo(hudVisibility ? 1 : 0, duration);
showHud.TriggerChange();
if (!showHud && !hasShownNotificationOnce)

View File

@ -21,7 +21,6 @@ namespace osu.Game.Screens.Play
public KeyCounterCollection()
{
AlwaysReceiveInput = true;
AlwaysPresent = true;
Direction = FillDirection.Horizontal;
AutoSizeAxes = Axes.Both;