1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Use controlWithCurrent as per comment.

This commit is contained in:
Dan Balasescu 2017-05-08 10:11:45 +09:00 committed by GitHub
parent 98b3b82c07
commit fbf05f12fc

View File

@ -50,7 +50,7 @@ namespace osu.Game.Overlays.Options
set
{
bindable = value;
(Control as IHasCurrentValue<T>)?.Current.BindTo(bindable);
controlWithCurrent?.Current.BindTo(bindable);
}
}