mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Update existing function type rather than adding an override
This commit is contained in:
@ -52,9 +52,7 @@ namespace osu.Game.Tests.Visual
|
||||
|
||||
private readonly List<Drawable> createdDrawables = new List<Drawable>();
|
||||
|
||||
public void SetContents(Func<Drawable> creationFunction) => SetContents(_ => creationFunction?.Invoke());
|
||||
|
||||
public void SetContents(Func<ISkin, Drawable> creationFunction)
|
||||
protected void SetContents(Func<ISkin, Drawable> creationFunction)
|
||||
{
|
||||
createdDrawables.Clear();
|
||||
|
||||
|
Reference in New Issue
Block a user