1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Enable NRT on save changes button

This commit is contained in:
Salman Ahmed 2022-07-14 04:33:07 +03:00
parent 776d9551e2
commit 24df8f6a0d

View File

@ -1,7 +1,6 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
@ -17,9 +16,9 @@ namespace osu.Game.Tournament
internal class SaveChangesOverlay : CompositeDrawable
{
[Resolved]
private TournamentGame tournamentGame { get; set; }
private TournamentGame tournamentGame { get; set; } = null!;
private string lastSerialisedLadder;
private string? lastSerialisedLadder;
private readonly TourneyButton saveChangesButton;
public SaveChangesOverlay()
@ -57,7 +56,7 @@ namespace osu.Game.Tournament
Bottom = 10,
},
Action = saveChanges,
Enabled = { Value = false },
// Enabled = { Value = false },
},
}
};