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() protected HUDOverlay()
{ {
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
AlwaysPresent = true;
Add(content = new Container Add(content = new Container
{ {
@ -68,7 +67,7 @@ namespace osu.Game.Screens.Play
private void load(OsuConfigManager config, NotificationManager notificationManager) private void load(OsuConfigManager config, NotificationManager notificationManager)
{ {
showHud = config.GetBindable<bool>(OsuSetting.ShowInterface); 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(); showHud.TriggerChange();
if (!showHud && !hasShownNotificationOnce) if (!showHud && !hasShownNotificationOnce)

View File

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