mirror of
https://github.com/ppy/osu.git
synced 2025-02-19 18:22:59 +08: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;
|
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
|
public Bindable<T> Current
|
||||||
{
|
{
|
||||||
get => current.Current;
|
get => current.Current;
|
||||||
set {
|
set
|
||||||
|
{
|
||||||
current.Current = value;
|
current.Current = value;
|
||||||
current.ValueChanged += _ => UpdateState();
|
current.ValueChanged += _ => UpdateState();
|
||||||
current.DisabledChanged += _ => UpdateState();
|
current.DisabledChanged += _ => UpdateState();
|
||||||
|
Loading…
Reference in New Issue
Block a user