mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix new SettingsItem
attribute not playing well with non-Drawable
s
This commit is contained in:
@ -28,7 +28,7 @@ namespace osu.Game.Overlays.Settings
|
||||
/// <summary>
|
||||
/// The source component if this <see cref="SettingsItem{T}"/> was created via <see cref="SettingSourceAttribute"/>.
|
||||
/// </summary>
|
||||
public Drawable Source { get; internal set; }
|
||||
public object SettingSourceObject { get; internal set; }
|
||||
|
||||
private IHasCurrentValue<T> controlWithCurrent => Control as IHasCurrentValue<T>;
|
||||
|
||||
|
Reference in New Issue
Block a user