1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 10:02:54 +08:00

Fix potential nullref due to silly null handling and too much OOP

This commit is contained in:
Dean Herbert 2025-01-14 19:03:58 +09:00
parent 058ff8af77
commit 3ddff19337
No known key found for this signature in database

View File

@ -35,7 +35,7 @@ namespace osu.Game.Storyboards.Drawables
protected override Container<DrawableStoryboardLayer> Content { get; }
protected override Vector2 DrawScale => new Vector2(Parent!.DrawHeight / 480);
protected override Vector2 DrawScale => new Vector2((Parent?.DrawHeight ?? 0) / 480);
public override bool RemoveCompletedTransforms => false;