mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 20:22:55 +08:00
Mark override as null-accepting
`ModelBackedDrawable<T>.CreateDrawable()` is R#-annotated to accept a potentially null model. Apply nullability there too for better reading experience.
This commit is contained in:
parent
354e85a2e1
commit
1f2f522a1e
@ -39,7 +39,7 @@ namespace osu.Game.Beatmaps.Drawables
|
||||
|
||||
protected override double TransformDuration => 400;
|
||||
|
||||
protected override Drawable CreateDrawable(IBeatmapInfo model)
|
||||
protected override Drawable CreateDrawable(IBeatmapInfo? model)
|
||||
{
|
||||
var drawable = getDrawableForModel(model);
|
||||
drawable.RelativeSizeAxes = Axes.Both;
|
||||
|
Loading…
Reference in New Issue
Block a user