mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
CA1715: use prefix for generic parameters.
This commit is contained in:
@ -7,15 +7,15 @@ using osu.Framework.Graphics.UserInterface;
|
||||
|
||||
namespace osu.Game.Graphics.UserInterfaceV2
|
||||
{
|
||||
public abstract class LabelledComponent<T, U> : LabelledDrawable<T>, IHasCurrentValue<U>
|
||||
where T : Drawable, IHasCurrentValue<U>
|
||||
public abstract class LabelledComponent<TDrawable, TValue> : LabelledDrawable<TDrawable>, IHasCurrentValue<TValue>
|
||||
where TDrawable : Drawable, IHasCurrentValue<TValue>
|
||||
{
|
||||
protected LabelledComponent(bool padded)
|
||||
: base(padded)
|
||||
{
|
||||
}
|
||||
|
||||
public Bindable<U> Current
|
||||
public Bindable<TValue> Current
|
||||
{
|
||||
get => Component.Current;
|
||||
set => Component.Current = value;
|
||||
|
Reference in New Issue
Block a user