Convert private property into readonly field
This commit is contained in:
parent
442a8f3668
commit
4dc7c45d78
1 changed files with 1 additions and 1 deletions
|
|
@ -1663,7 +1663,7 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
|
||||
static Dictionary<NamedTypeFace, TypeFace> TypeFaceCache { get; set; } = new Dictionary<NamedTypeFace, TypeFace>()
|
||||
private static readonly Dictionary<NamedTypeFace, TypeFace> TypeFaceCache = new Dictionary<NamedTypeFace, TypeFace>()
|
||||
{
|
||||
[NamedTypeFace.Liberation_Sans] = LiberationSansFont.Instance,
|
||||
[NamedTypeFace.Liberation_Sans_Bold] = LiberationSansBoldFont.Instance,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue