1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-23 03:02:55 +08:00

Merge pull request #10394 from peppy/add-back-obsoleted-bindable-prop

Add obsoleted Bindable property back to SettingsItem for compatibility
This commit is contained in:
Dan Balasescu 2020-10-06 19:43:24 +09:00 committed by GitHub
commit 300423579e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,13 @@ namespace osu.Game.Overlays.Settings
}
}
[Obsolete("Use Current instead")] // Can be removed 20210406
public Bindable<T> Bindable
{
get => Current;
set => Current = value;
}
public virtual Bindable<T> Current
{
get => controlWithCurrent.Current;