Use read-only autoimplemented property when possible
This commit is contained in:
committed by
atlimit8
parent
79f321cb44
commit
7eb64ea6fc
@@ -17,7 +17,7 @@ namespace OpenRA.Graphics
|
||||
{
|
||||
public sealed class SpriteFont : IDisposable
|
||||
{
|
||||
public int TopOffset { get; private set; }
|
||||
public int TopOffset { get; }
|
||||
readonly int size;
|
||||
readonly SheetBuilder builder;
|
||||
readonly IFont font;
|
||||
|
||||
Reference in New Issue
Block a user