mirror of
https://github.com/ppy/osu
synced 2025-01-09 15:49:32 +00:00
Formatting
This commit is contained in:
parent
d85f17159f
commit
d988194dd3
@ -21,12 +21,13 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
public override bool IsPresent => base.IsPresent || Scheduler.HasPendingTasks;
|
||||
|
||||
private BindableWithCurrent<T> current = new BindableWithCurrent<T>();
|
||||
private readonly BindableWithCurrent<T> current = new BindableWithCurrent<T>();
|
||||
|
||||
public Bindable<T> Current
|
||||
{
|
||||
get => current.Current;
|
||||
set {
|
||||
set
|
||||
{
|
||||
current.Current = value;
|
||||
current.ValueChanged += _ => UpdateState();
|
||||
current.DisabledChanged += _ => UpdateState();
|
||||
|
Loading…
Reference in New Issue
Block a user