Make layout readonly

This commit is contained in:
timiimit 2023-05-13 11:37:56 +02:00
parent d81cdacb0d
commit 18efdb0e4c

View File

@ -72,7 +72,7 @@ namespace osu.Game.Screens.Play
private ScheduledDelegate scheduledCreate;
private LayoutValue layout = new LayoutValue(Invalidation.DrawSize | Invalidation.DrawInfo);
private readonly LayoutValue layout = new LayoutValue(Invalidation.DrawSize | Invalidation.DrawInfo);
public SquareGraph()
{