mirror of
https://github.com/ppy/osu.git
synced 2025-03-19 09:07:18 +08:00
CI fixes and removed useless property
This commit is contained in:
parent
c7a241246e
commit
2e28b10c36
@ -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)
|
||||
|
@ -21,7 +21,6 @@ namespace osu.Game.Screens.Play
|
||||
public KeyCounterCollection()
|
||||
{
|
||||
AlwaysReceiveInput = true;
|
||||
AlwaysPresent = true;
|
||||
|
||||
Direction = FillDirection.Horizontal;
|
||||
AutoSizeAxes = Axes.Both;
|
||||
|
Loading…
x
Reference in New Issue
Block a user